View Full Version : href onclick check if user name in database

10-04-2012, 01:34 PM

On my page:


I would like the user to click on the "Check Availability" hyperlink and have it check my database to see if username is available or not, while remaining on this page and then display a message saying either "taken" or "available".

I am stumped on this.
Could someone pls point me in the right direction.


10-04-2012, 02:08 PM
AJaX. Easier if you're using jQuery. But if not, you can manually write your xhr, submit in the background and alert the server response. Or have a hidden div appear with the display.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum