Useful Links
AJAX = Asynchronous JavaScript and XML
Examples
One way of creating XMLHttpRequest object from w3schools
eg001.htm create XMLHttpRequest object, async=false, not recommenderead, read data from text file eg001_info.txt
eg002.htm create XMLHttpRequest object, async=true, the correct way, read data from text file eg001_info.txt
Another way of creating XMLHttpRequest object from tizag.com
eg003.htm create XMLHttpRequest object, onkeypress event, read data from php file eg003_time.php (txt file)
eg004.htm create XMLHttpRequest object, get data from database, using php file eg008c_select_changed.php (txt file),
two more files are needed eg008a_connect_database.php (txt file), and eg008b_database_error.php (txt file).
eg005.htm create XMLHttpRequest object, search data in database, using php file eg008c_select_search.php (txt file),
two more files are needed eg008a_connect_database.php (txt file), and eg008b_database_error.php (txt file).
eg006.htm search data in database, update one form field, using php file eg008c_select_single.php (txt file),
two more files are needed eg008a_connect_database.php (txt file), and eg008b_database_error.php (txt file).