Implement simple ajax_jquery using jquery
ajax
jquery
-->html page
< ;html xmlns="http://www.w3.org/1999/xhtml">
Username verification example
< script src="../js/jquery-1.7.2.js" type="text/javascript">
JAX instance for user name verification
< ;!--There is no need to use a form for data submission in ajax mode, so there is no need to write a form-->
< ;input type="button" value="Submit" onclick=""/>
Copy code The code is as follows:
< ;html xmlns="http://www.w3.org/1999/xhtml">
< script src="../js/jquery-1.7.2.js" type="text/javascript">
JAX instance for user name verification
< ;!--There is no need to use a form for data submission in ajax mode, so there is no need to write a form-->
< ;input type="button" value="Submit" onclick=""/>