AJAX = Asynchronous JavaScript and XML., is a technology for creating fast dynamic web pages.
AJAX allows web pages to be updated asynchronously by exchanging a small amount of data with the server in the background. This means it is possible to update a portion of a web page without reloading the entire page.
With jQuery AJAX, you can directly load remote data into selected HTML elements on the web page.
There are three commonly used functions in Jquery Ajax, namely:
$.post(url,data,callback,type): Use HTTP POST to load remote data;
$.get(url,data,callback , type): Use HTTP GET to load remote data;
$.ajax(options): Load remote data into the XMLHttpRequest object;
If you need an in-depth understanding of the above three ajax functions, you can refer to me The blog post "Detailed explanation and practical application of jQuery AJAX function".
Example:
ajax_load.html file content: