jQuery AJAX Methods


Method Description
$.ajax() Makes an async AJAX request.
$.ajaxPrefilter() Handle custom Ajax options or alter existing options before sending each request and before $.ajax() processes them.
$.ajaxSetup() This function sets the default settings for future AJAX queries.
$.ajaxTransport() Creates an object that handles the actual Ajax data delivery.
$.get() AJAX HTTP GET request is used to load data from a server.
$.getJSON() A HTTP GET request is used to load JSON-encoded data from a server.
$.parseJSON() In version 3.0, this method was deprecated; instead, use JSON.parse(). Returns the JavaScript value from a properly constructed JSON string.
$.getScript() AJAX HTTP GET request is used to load (and execute) a JavaScript from a server.
$.param() Creates a serialized version of an array or object (which may then be used as the URL query string for AJAX queries).
$.post() AJAX HTTP POST request is used to load data from a server.
ajaxComplete() When the AJAX request is finished, this method is called.
ajaxError() When an AJAX request fails with an error, this method is called.
ajaxSend() Specifies a function that will be executed before the AJAX request is delivered.
ajaxStart() When the initial AJAX request is made, this method is called.
ajaxStop() When all AJAX queries have been finished, this method is called.
ajaxSuccess() When an AJAX request is successful, this method is called.
load() Loads data from a server and inserts it into the specified element.
serialize() For submission, encodes a set of form elements as a string.
serializeArray() A set of form elements is encoded as an array of names and values.