Im following this site (www.keepern.com) for a while now. I just wonder how did they do the [check availability] functionality on the signup page www.keepern.com/signup
Your best bet is to use an AJAX framework (like glm-ajax), then read the manual for it. You should then be able to script exactly what you want.
http://w3schools.com/ajax/ajax_database.asp here is the example for you....instead of showing the table ...you are going to show the username availbilty checking in database.... put javascript action onblur instead of onchange
Its just jquery+ajax (xml http request) effect for this username availability check. you can look at the source to see how this is made to happen.