title: how to create a register page in php and ajax which checks if a certain username is already there or not without page refresh?
body: <p>I have a register.php file which creates new users for my site . But if a person uses a username which is already existing an error is generated only when he enters the whole form and submits . How to implement Ajax/Jquery so as to show it without him submitting the form ?</p>