
jQuery – $.ajax() Method
The .ajax() method is used to perform an AJAX (asynchronous HTTP) request, and is mostly used for requests where the other methods cannot be used.
The .ajax() method is used to perform an AJAX (asynchronous HTTP) request, and is mostly used for requests where the other methods cannot be used.
The ajaxComplete() method specifies a function to be run when an AJAX request completes.
The ajaxError() method specifies a function to be run when an AJAX request fails, and should only be attached to the document.
The ajaxSend() method specifies a function to run when an AJAX requests is about to be sent., and should only be attached to the document.
The .ajaxSetup() method sets default values for future AJAX requests.
The ajaxStart() method specifies a function to be run when an AJAX request starts.
The ajaxStop() method specifies a function to run when ALL AJAX requests have completed.
The ajaxSuccess() method specifies a function to be run when an AJAX request is successfully completed, and should only be attached to the document.
The .get() method loads data from the server using an HTTP GET request.
The .getJSON() method is used to get JSON data using an AJAX HTTP GET request.
The .getScript() method is used to get and execute a JavaScript using an AJAX HTTP GET request.
The load() method loads data from a server and puts the returned data into the selected element.
The .param() method creates a serialized representation of an array or an object.
The .post() method loads data from the server using an HTTP POST request.
The serialize() method creates a URL-encoded text string by serializing form values.
The serializeArray() method creates an array of objects (name and value) by serializing form values.
Thanks for your support!
All are affiliate links. Thank you for your support!