Introduction of AJAX:

AJAX represents the Asynchronous JavaScript and XML. AJAX is a new method to create much faster, better and more attractive and also interactive web sites. But please don’t think that AJAX is a programming language no its not it is a technology. It is a new way of using old standards in a new way.

The main purpose of AJAX is to exchange the data with a server and update a part of the web page without reloading the whole web page. AJAX grants web pages to update small amount of data behind the scene with the server asynchronously. So that AJAX is used to create fast and dynamic web pages.

For example, you have definitely face that problem that when you have refresh some web site it will take you on the top of page it is because they does not use AJAX . With the help of AJAX you can solve this problem easily. If you use AJAX than you can see if you refresh your web site it will not refresh the whole page and all this process works behind the scene.


Here is a list of some examples which are using AJAX.

  • Gmail
  • Google Maps
  • Yahoo Maps

Pre-requisites for AJAX:

  • For content AJAX uses the HTML and for presentation it use CSS.
  • JavaScript is use to perform main actions.
  • XML is use to store the data which is fetch from the server.
  • XMLHttpRequest Object is use to fetch the data behind the scene in the browser.

Browser Support for AJAX:

You have to know that all browsers not support the AJAX and when we are saying that browser does not support AJAX it means that it will not create XMLHttpRequest object. Here is a list of browsers they support AJAX:

  • Mozilla Firefox 1.0 and above
  • IE 5 and above
  • Netscape version 7.1 and above
  • Opear 7.6 and above
  • Apple Safari 1.2 and above
  • Konqueror

Leave a Reply

Your email address will not be published. Required fields are marked *