jQuery AJAX method

jQuery AJAX method

AJAX is a technique for exchanging data with a server to update part of a web page without reloading the entire page.

The following table lists all jQuery AJAX methods:

method describe
$.ajax() Perform 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 value for future AJAX requests
$.ajaxTransport() Create the object that handles the actual transfer of the Ajax data
$.get() Load data from server using AJAX 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 an AJAX HTTP GET request
$.param() Creates a serialized representation of an array or object (usable in URL query strings for AJAX requests)
$.post() Load data from server using AJAX HTTP POST request
ajaxComplete() Specifies a function to run when an AJAX request completes
ajaxError() Specifies a function to run when an AJAX request fails
ajaxSend() Specifies a function to run before an AJAX request is sent
ajaxStart() Specifies the function to run when the first AJAX request starts
ajaxStop() Specifies the function to run when all AJAX requests complete
ajaxSuccess() Specifies a function to run when an AJAX request completes successfully
load() Load data from the server and place the returned data into the specified element
serialize() Encode form element set to string for submission
serializeArray() Encodes the set of form elements as an array of names and values

Guess you like

Origin blog.csdn.net/unbelievevc/article/details/131049607