Ajax
S2C Home « Ajax
Click a jQuery 3.5 API Ajax Method signature in the table below to see in-depth information on it.
Alphabetically | Description |
---|---|
Global Ajax Event HandlersTop | |
The .ajaxComplete() method has one signature: | |
.ajaxComplete( handler(event, jqXHR, ajaxSettings)) | Register an Ajax Event handler to be called when Ajax requests complete. |
The .ajaxError() method has one signature: | |
.ajaxError( handler(event, jqXHR, ajaxSettings, thrownError)) | Register an Ajax Event handler to be called when Ajax requests complete with an error. |
The .ajaxSend() method has one signature: | |
.ajaxSend( handler(event, jqXHR, ajaxSettings)) | Register an Ajax Event handler to be called before Ajax requests are sent. |
The .ajaxStart() method has one signature: | |
.ajaxStart( handler()) | Register an Ajax Event handler to be called when an Ajax request starts and no other requests are in progress. |
The .ajaxStop() method has one signature: | |
.ajaxStop( handler()) | Register an Ajax Event handler to be called when all Ajax requests are finished. |
The .ajaxSuccess() method has one signature: | |
.ajaxSuccess( handler(event, jqXHR, ajaxSettings)) | Register an Ajax Event handler to be called whenever an Ajax request completes successfully. |
Helper FunctionsTop | |
The .param() method has two signatures: | |
jQuery.param( object ) | Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request. |
jQuery.param( object, traditional ) | Create a traditional 'shallow' serialized representation of an array or object, suitable for use in a URL query string or Ajax request. |
The .serialize() method has one signature: | |
.serialize() | Encode a set of form elements as a string ready for submission. |
The .serializeArray() method has one signature: | |
.serializeArray() | Encode a set of form elements as an array of name/value pairs ready for encoding as a JSON string. |
Low-Level InterfaceTop | |
The jQuery.ajax() method has two signatures: | |
jQuery.ajax( url [, settings]) | Perform an asynchronous HTTP (Ajax) request to be sent to the specified url, optionally passing some request settings. |
jQuery.ajax( settings ) | Perform an asynchronous HTTP (Ajax) request, optionally passing some request settings. |
The jQuery.ajaxPrefilter() method has one signature: | |
jQuery. | Filter custom Ajax settings or modify the existing settings, before sending each request and before they are processed by the $.ajax() method. |
The jQuery.ajaxSetup() method has one signature: | |
jQuery.ajaxSetup( settings ) | Initialize default settings for future Ajax requests. |
Shorthand MethodsTop | |
The jQuery.get() method has two signatures: | |
jQuery.get( url [, data] [, function(data, textStatus, jqXHR)] [,dataType]) | Load data from the server, using a HTTP GET request. |
jQuery.get( settings ) | Load data from the server using a HTTP GET request, passing some request settings. |
The jQuery.getJSON() method has one signature: | |
jQuery.getJSON( url [, data] [,function(data, textStatus, jqXHR)]) | Load data from the server, that has been JSON encoded, using a HTTP GET request. |
The jQuery.getScript() method has one signature: | |
jQuery.getScript( url [,function(data, textStatus, jqXHR)]) | Load and execute a JavaScript file from the server, using a HTTP GET request. |
The jQuery.post() method has two signatures: | |
jQuery.post(url [,data] [,function(data, textStatus, jqXHR)] [,dataType]) | Load data from the server, using a HTTP POST request. |
jQuery.post( settings ) | Load data from the server using a HTTP POST request, passing some request settings. |
The .load() method has one signature: | |
.load(url [,data] [,function( responseText, textStatus, XMLHttpRequest)]) | Load data from the server and populate the matched element from the returned HTML on successful completion. |