The JQuery Library has a complete Ajax compatibility suite. The functions and methods allow us to load data from the server without refreshing the browser. function Introduction
Jouery.ajax (): Executes an asynchronous HTTP (Ajax) request.
. Ajaxcomplete (): Registers the handler to invoke when the Ajax request completes. This is an AJAX event.
. Ajaxerror: Registers the handler to invoke when the AJAX request is complete and an error occurs. This is an AJAX event.
. Ajaxsend (): Displays a message before the AJAX request is sent.
Jquery.ajaxsetup (): Sets the default value for future AJAX requests.
. Ajaxstart (): Registers the handler to invoke when the first Ajax request completes. This is an AJAX event.
. Ajaxstop (): Registers the handler to invoke when all AJAX requests are complete. This is an AJAX event.
. Ajaxsuccess (): Displays a message when the AJAX request succeeds.
Jquery.get (): Loads data from the server using an HTTP GET request.
Jquery.getjson (): Loads JSON encoded data from the server using an HTTP GET request.
Jquery.getscript (): Loads a JavaScript file from the server using an HTTP GET request and executes the file.
. Load (): Loads the data from the server and then returns it to the HTML to put in the matching element.
Jquery.param (): Creates a serialized representation of an array or object, suitable for use in URL query strings or AJAX requests
Jquery.post (): Loads data from the server using an HTTP POST request.
. Serialize (): Serializes the contents of the form into a string.
. Serializearray (): Serializes the form element, returning the JSON data structure.
Tomorrow, the use of the function is introduced individually!!!
Introduction to JQuery Ajax functions