...

View Full Version : onreadystatechange



warzo69
10-10-2008, 10:44 AM
I am an AJAX newbie, I am trying to learn how to use onreadystatechange. First is it possible to load a <select> with names from a mysql database then when the user selects a name have a mysql_query executed to pull the correlating information loaded into a div; ex. say the names in the <select> are John Mike and Brad, if john is selected then all johns info(ssn, dob, address, phone number) is loaded into a div without the use of a submit button? If so can you point me to a good tutorial that can show me how to use onreadystatechange and / or what tools I will need to fully understand this. I know PHP / MySQL and a some JavaScript but am new to AJAX.

Thanks in advance,

Matthew Wawrzyniec

A1ien51
10-15-2008, 12:30 AM
Start with a basic tutorial: http://developer.apple.com/internet/webcontent/xmlhttpreq.html

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum