type | Specifies the request type as POST or GET. |
url | Specifies the URL to send the request to. |
username | Specifies the username for HTTP access authentication. |
xhr | Creates the XMLHttpRequest object. |
async | Default is true . Specifies if the request is asynchronous. |
beforeSend(xhr) | A function executed before the request is sent. |
dataType | Expected data type of the server response. |
error(xhr, status, error) | A function executed if the request fails. |
global | Default is true . Specifies whether to trigger global AJAX events for the request. |
ifModified | Default is false . A request is successful only if the response has changed. |
jsonp | Overrides the callback function for JSONP requests. |
jsonpCallback | Specifies a name for the callback function in a JSONP request. |
cache | Default is true . Indicates whether the browser should cache requested pages. |
complete(xhr, status) | A function that runs when the request is finished. |
contentType | Default is "application/x-www-form-urlencoded" . Specifies content type of data sent. |
context | Specifies the "this" value for all AJAX-related callbacks. |
data | Specifies data to be sent to the server. |
dataFilter(data, type) | Handles raw response data from the XMLHttpRequest. |
password | Specifies a password for HTTP access authentication. |
processData | Default is true . Specifies if the data should be transformed into a query string. |
scriptCharset | Specifies the charset for the request. |
success(result, status, xhr) | Runs when the request succeeds. |
timeout | Local timeout for the request, measured in milliseconds. |
traditional | Specifies whether to use the traditional style of parameter serialization. |