Hiya guys, I neeed some help on my register page and i wont some1 to tell me how to make a check available button when pressed a dialog box appears and says if its taken or available
@coffeeCoderApr 01.2009 — #I would use a quick AJAX call /updater (I'm a big fan of scriptaculous) to some script that checks to see if that username is available. Have that script return either "Available" or "Not Available"; so you can update a div (next to the username text box) with that text.
Then, handle the onClick of that button to call the function that makes that Ajax call. This would allow your registerees to see if that username is available.
AND, just to be on the safe side, the script that actually does the insertion of the registration information to the database check if that username exists, and if it does, alert your user.