If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending "_={timestamp}" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET.
A function to be called when this request finishes (after success and error callbacks are executed).
An object containing type converters. Each parser's value is a function that returns the filtered response data of the type, will be replaced a default inner-parser.
True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.
Data to be sent to the server.
A function to be called if this request fails.
An object of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. The header X-Requested-With: XMLHttpRequest is always added, but its default XMLHttpRequest value can be changed here.
Allow the request to be successful only if the response has changed since the last request. This is done by checking the Last-Modified header. Default value is false, ignoring the header. This technique also checks the 'etag' specified by the server to catch unmodified data.
The HTTP method to use for the request.
The XMLHttpRequest method overrideMimeType() specifies a MIME type other than the one provided by the server to be used instead when interpreting the data being transferred in a request. This may be used, for example, to force a stream to be treated and parsed as "text/xml", even if the server does not report it as such.
A password to be used with XMLHttpRequest in response to an HTTP access authentication request.
A function to be called if this request progress.
When sending data to the server, use this content type. Default is "application/x-www-form-urlencoded; charset=UTF-8", which is fine for most cases. If you explicitly pass in a content-type to $.ajax(), then it is always sent to the server (even if no data is sent). You can pass false to tell Http to not set any content type header. Note: The W3C XMLHttpRequest specification dictates that the charset is always UTF-8; specifying another charset will not force the browser to change the encoding. Note: For cross-domain requests, setting the content type to anything other than application/x-www-form-urlencoded, multipart/form-data, or text/plain will trigger the browser to send a preflight OPTIONS request to the server.
"xml": Returns a XML document that can be processed.
"html": Returns HTML as plain text; included script tags are evaluated when inserted in the DOM.
"json": Evaluates the response as JSON and returns a JavaScript object.
"text": A plain text string.
A function to be called if this request succeeds.
Send in a new webwork thread.
Set a timeout (in milliseconds) for the request. A value of 0 means there will be no timeout.
An URL string for ajax request.
A username to be used with XMLHttpRequest in response to an HTTP access authentication request.
A function to be used to pre-handle the raw response data beforing parse the response.
By default, all requests are sent asynchronously (i.e. this is set to true by default).