Contact :+91 161 504 7670/71/72
 
Software, Seo & Web Designing Company
Approved Government Contractor  
Google map
Ajax
   
   
Name:
Email:
Ph no:

Ajax stands for Asynchronous JavaScript and XML. .  AJAX is not a new programming language, but a way of programming for the Web that gets rid of the problem of reloading page every time. Data, content, and design are merged together into a seamless whole. When your customer clicks on something on an Ajax driven application, there is very little lag time. The page simply displays what they're asking for. There is very little lag and you don't have to wait for pages to refresh or reload.

Ajax uses a programming model with display and events. Events are users actions which call functions associated with web page. Forms and buttons are used to achieve interactivity. DOM allows to connect page elements with actions and also to retrieve data from XML files provided by the server.
To retrieve data on the server, XMLHttpRequest provides two methods: open and send.
Data furnished by the server will be found in the attributes of the XMLHttpRequest object:
- responseXml for an XML file or
- responseText for a plain text.

Take note that a new XMLHttpRequest object has to be created for each new file to load.

We have to wait for the data to be available to process it, and in this purpose, the state of availability of data is given by the readyState attribute of XMLHttpRequest.


Our Tecnology Partners