AJAX Introduction

AJAX is tied in with refreshing pieces of a site page, without reloading the entire page.

What is AJAX?

AJAX = Asynchronous JavaScript and XML.

AJAX is a system for making quick and dynamic web pages.

AJAX permits website pages to be refreshed nonconcurrently by trading little measures of information with the server in the background. This implies it is conceivable to refresh portions of a site page, without reloading the entire page.

Classic site pages, (which don't utilize AJAX) must reload the whole page if the substance ought to change.

Examples of utilizations utilizing AJAX: Google Maps, Gmail, Youtube, and Facebook tabs.

How AJAX Works


AJAX is Based on Internet Standards

AJAX depends on web gauges, and uses a blend of:

  • XMLHttpRequest object (to trade information nonconcurrently with a server)
  • JavaScript/DOM (to show/connect with the information)
  • CSS (to style the data)
  • XML (frequently utilized as the organization for exchanging data)

Google Suggest

AJAX was made prominent in 2005 by Google, with Google Suggest.

Google Suggest is utilizing AJAX to make a dynamic web interface: When you begin composing in Google's hunt box, a JavaScript sends the letters off to a server and the server restores a rundown of suggestions.