Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Introduction to jQuery AJAX


May 07, 2021 jQuery


Table of contents


jQuery - Introduction to AJAX


AJAX is a technology that exchanges data with the server, enabling updates to some pages without overloading all pages.

jQuery AJAX instance

Use jQuery Ajax to modify the text content


Try it out . . .


What is AJAX?

AJAX - Asynchronous JavaScript and XML ( Asynchronous JavaScript and XML).

Briefly, without overloading the entire page, AJAX loads the data in the background and displays it on the page.

Use AJAX app examples: Google Maps, Tencent Weibo, Youku Video, Renren, and more.

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 several AJAX-related methods.

With the jQuery AJAX method, you can use HTTP Get and HTTP Post to request text, HTML, XML, or JSON from a remote server - and you can load this external data directly into the selected elements of the Web page.

Introduction to jQuery AJAX Without jQuery, AJAX programming is still a bit difficult.

Writing regular AJAX code is not easy because different browsers implement AJAX differently. T his means that you must write additional code to test the browser. However, the jQuery team solved this problem for us, and we only needed a simple line of code to implement AJAX functionality.

Tip: For more information about HTTP Get and HTTP Post, please refer to the "HTTP Method: GET Vs POST" section of this site!