AJAX stands for Asynchronous JavaScript and XML. Ajax is a client-side script that can be used in creating asynchronous functions for web sites. An Ajax script can send and retrieve data from a server asynchronously without the need for a complete page refresh.

Ajax is best understood by relating it to the way a normal web page is accessed by a user. With a web browser, a user issues a "request" to see a specific web page. That request is sent to the web server. That server gathers those requested files and sends them to the user's computer as a "response" to the "request," and the browser then converts them to a visual form and displays them for the user. This is where Ajax can come in. Instead of requesting that the entire page be recreated, the creator of the web site can make it so that just the new content is requested from the web server.

The way this works is that user action triggers an asynchronous request to the web server for JUST a specific section of the web page. It is asynchronous in that it is not tied to the full response for a web page.

The technologies used to accomplish feature are JavaScript and XML – hence the name "AJAX," or Asynchronous JavaScript And XML.

An Ajax request can be carried out with JQuery or plain javascript. Here is a code example in plain javascript from stackoverflow.com

There are no comments yet. Log in to add a comment.

See all definitions of Ajax