How to use ajax to realize partial Refresh of Registration Verification
This article mainly shows you "how to use ajax to achieve registration verification local refresh", the content is easy to understand, clear, hope to help you solve your doubts, the following let Xiaobian lead you to study and learn "how to use ajax to achieve registration verification local refresh" this article.
1Magna Ajax (asynchronouse javascript and xml) asynchronous javascrip and xml
2, (includes 7 technologies: javascript xml xstl dom xhtml css xmlhttpRequest)
3, is a technology independent of server language and can be used in (php/jsp/asp.net)
4 how Magi Ajax works: create an ajax engine-> send data to the server-"receive data through callback function--" assign data to the specified page
The following is the registration verification case register. Php is the registration page. RegisterProcess.php is used to receive data and return data
Register.php
The code is as follows:
User registration
User name: