In this tutorial you will learn about the AJAX Introduction and its application with practical example.
What is AJAX?
Table Of Contents−
- AJAX allows you make web based user interfaces more responsive and rich by letting you update specific part of the page without refreshing the entire page.
- Conventional web application trasmit information to and from the sever using synchronous requests. This means you fill out a form, hit submit, and get directed to a new page with new information from the server.
- XML is commonly used as the format for receiving server data, although any format, including plain text, can be used.
- AJAX is a web browser technology independent of web server software.
- A user can continue to use the application while the client program requests information from the server behind the scenes
How AJAX Works
AJAX is based on the following open standards
- Browser-based presentation using HTML and Cascading Style Sheets (CSS)
- Data stored in XML format and fetched from the server
- Behind-the-scenes data fetches using XMLHttpRequest objects in the browser
AJAX – Recommended Prerequisites
It is recommended that you are familiar with following before attempting this tutorial.
- Basic HTML Concepts (GET requests/URL parameters)
- The <div> tag