WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery AJAX Methods


jQuery AJAX Methods

AJAX is the craft of trading information with a server, and refresh portions of a site page - without reloading the entire page.

The following table records all the jQuery AJAX methods:


method Description
$.ajax() Executing an asynchronous AJAX request
$.ajaxPrefilter() Handle custom Ajax options or modify existing options before each request is sent and processed by $.ajax()
$.ajaxSetup() Set default values ​​for future AJAX requests
$.ajaxTransport() Create an object that handles the actual transfer of Ajax data
$.get() Load data from the server using AJAX's HTTP GET request
$.getJSON() Load JSON-encoded data from the server using an HTTP GET request
$.getScript() Load and execute JavaScript from the server using AJAX's HTTP GET request
$.param() Create a serialized representation of an array or object (a URL query string that can be used for AJAX requests)
$.post() Load data from the server using AJAX's HTTP POST request
ajaxComplete() specifies the function to run when the AJAX request completes
ajaxError() specifies the function to run when an AJAX request fails
ajaxSend() specifies the function that is run before the AJAX request is sent
ajaxStart() specifies the function to run when the first AJAX request starts
ajaxStop() specifies the functions that are run when all AJAX requests are completed
ajaxSuccess() specifies the function to run when the AJAX request completes successfully
load() Load data from the server and place the returned data into the specified element
serialize() Encoded form element sets as strings for submission
serializeArray() Encoded form element set as an array of names and values