View Full Version : Blur

05-24-2011, 02:31 PM
Not sure were to post this or if ill get any love, but here it goes,

I need help, i need alot, i have a site, its smarty, php, and mysql backed,

i need to know how on earth i use ajax or javascript or whatever to do the following.

When i type a username' into the field, once i click off it, i believe onblur is to be used? it will check the database and place text next to it saying hey that username is taken! if it is? anyone give a brother a hand?

05-24-2011, 02:37 PM
Well basically you write your php script to do its checks and then output available or taken. Thats pretty simple as its like any other php script.

It's the javascript that is a tad more tricky as you have to get it working in all browsers etc. IF you google AJAX you'll find a heap of examples.