i have username and email address in my web page .i used php and mysql database .i want to validate username whether it exists in the database and validate email address on text box onkeyup state .
how to do this by using ajax on onkeyup or onkeychange event
help me pls
gergoe
11:07 am on Jul 30, 2008 (gmt 0)
You will need to check out the XMLHttpRequest API, which is the core of the AJAX implementations, you can start researching using this Wiki article [en.wikipedia.org].
Please note that there are slight differences between the browser implementations (as usual), so I suggest you to get a cross-browser library at once, like Prototype, or [code.google.com ].
Fotiman
1:03 pm on Jul 30, 2008 (gmt 0)
Or the Yahoo UI Library [developer.yahoo.com]'s Connection Manager. Personally, I'm not a big fan of prototype as it really dirties the global namespace.