It is used when a website user is registered. it is mainly used to check whether the user name or Email entered by the user has been registered asynchronously. Ajax
Preface
The code is a little unfriendly, so according to the tradition of heaven and Dynasty, the whole section is described .... (My language skills are limited for everyone to read)
Merit
It is used when a website user is registered. it is mainly used to check whether the user name or Email entered by the user has been registered asynchronously.
You must have seen this feature. most websites have it. I have been very interested in this feature, so I have studied jQuery + over the past few days.
Ajax
The whole function is not perfect, but it is enough to deal with common code (more powerful features are explored by yourself)
Description
Reg. php // registration page
Check_user.php // The user verification page (optional for GET and POST methods)
Jquery-1.7.1.js // for jQuery File: http://code.jquery.com/jquery-1.7.1.js (right-click to save as OK)
Sample code
Reg. php registration page (contains 2 methods, please choose one)
The code is as follows:
PHP + Ajax asynchronous communication registration verification