AJAX is about updating parts of a web page, without reloading the whole page.
What You Should Already Know
Before you continue you should have a basic understanding of the following:
If you want to study these subjects first, find the tutorials on our Home page.
What is AJAX?
AJAX is a misleading name. You don't have to understand XML to use AJAX.
AJAX is a technique for creating fast and dynamic web pages.
AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.
Classic web pages, (which do not use AJAX) must reload the entire page if the content should change.
Examples of applications using AJAX: Google Maps, Gmail, YouTube, and Facebook.
How AJAX Works
AJAX is Based on Internet Standards
AJAX is based on internet standards, and uses a combination of:
- XMLHttpRequest object (to retrieve data from a web server)
XMLHttpRequest is a misleading name. You don't have to understand XML to use AJAX.
AJAX was made popular in 2005 by Google, with Google Suggest.
Start Using AJAX Today
AJAX is based on existing standards. These standards have been used by developers for several years. Read our next chapters to see how it works!