jQuery - Introduction to AJAX


jQuery - Introduction to AJAX

AJAX is a technology for exchanging data with the server. It can update some web pages without reloading the entire page.


What is AJAX?

AJAX = Asynchronous JavaScript and XML.

In short, AJAX loads data in the background and displays it on the web page without reloading the entire web page.

Application cases using AJAX: Google Maps, Tencent Weibo, Youku Video, Renren, etc.

You can learn the specific applications of jQuery Ajax in our jQuery Ajax Reference Manual.

You can learn more about AJAX in our AJAX tutorial.

About jQuery and AJAX


#jQuery provides multiple methods related to AJAX.

With jQuery AJAX methods, you can request text, HTML, XML or JSON from a remote server using HTTP Get and HTTP Post - and you can load this external data directly into the selected element of the web page.

Note: AJAX programming is still somewhat difficult without jQuery.

Writing regular AJAX code is not easy because different browsers implement AJAX differently. This means you have to write additional code to test the browser. However, the jQuery team has solved this problem for us. We only need a simple line of code to implement the AJAX function.