Forum Moderators: open

Message Too Old, No Replies

AJAX and PHP help

         

djbuddhi

8:05 am on Jul 29, 2008 (gmt 0)

10+ Year Member



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)

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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.

djbuddhi

3:45 am on Jul 31, 2008 (gmt 0)

10+ Year Member



no example provide