This tutorial explains and gives examples on how to make a web page dynamic by using Ajax technology. It is not intended to be an Ajax reference, but rather contains practical code samples showing how to make web pages dynamic and pleasant to use. The examples shown here can be used as building blocks for your own web pages.
PHP is the language used in the server script examples. In the PHP code samples there is also an example of connecting to and querying a MySQL database using PHP functions.
This tutorial also contains a brief MySQL reference sections showing examples of table creation, select, insert, update and delete commands.
In addition to showing how to use the Ajax technology I also show examples of dynamically updating a dropdown selection list, dynamically updating a HTML table, and dynamically updating text and headers. All without performing a page reload. All of the data is contained within the application, no internet connection is required.
The application contains the following categories:
About Ajax Tutorial
What is Ajax
XMLHttpRequest Object Details
Create XMLHttpRequest Obj
Basic PHP Server Script
Parse Server Response Basic
Parse Server Response Advanced
Dynamic Dropdown List