Introduction to AJAX
AJAX is a technology that can update parts of a web page without reloading the entire web page.
Basic knowledge you should have
Before continuing to study, you need to have a basic understanding of the following knowledge:
HTML / Please access these tutorials on our home page.
- What is AJAX? AJAX = Asynchronous JavaScript and XML.
- AJAX is a technology for creating fast, dynamic web pages. By exchanging a small amount of data with the server in the background, AJAX can enable asynchronous updates of web pages. This means that parts of a web page can be updated without reloading the entire page.
How AJAX worksAJAX is based on existing Internet standardsAJAX is based on existing Internet standards, and use them in combination:
XMLHttpRequest object (asynchronous exchange of data with the server)
JavaScript/DOM (information display/interaction )CSS (define styles for data)
XML (as a format for converting data)
- AJAX applications are browser and platform independent!
Google Suggest
In 2005, Google made AJAX popular with its Google Suggest. Google Suggest uses AJAX to create a highly dynamic web interface: when you enter keywords in Google's search box, JavaScript will send these characters to the server, and then the server will return a list of search suggestions .
AJAX is based on existing standards. These standards have been used by most developers for many years.
Read the next chapter to see how AJAX works!