Context
Type: Object
This object is used to set the context of Ajax-related callback functions. That is, let this point in the callback function refer to this object (if this argument is not set, this will point to the options argument passed when the AJAX request is invoked). For example, a DOM element is specified as the context parameter, so that the success callback function is set to this DOM element.
Just like this:
$.ajax ({url: "test.html", Context:document.body, Success:function () {
$ (this). AddClass ("Done");
}});
Jsonpcallback
Type: String
Specifies a callback function name for the JSONP request. This value will be used to replace the random function name that jQuery automatically generates. This is primarily used to allow jQuery to generate unique function names, which makes it easier to manage requests and easily provides callback functions and error handling. You can also specify this callback function name when you want the browser to cache a GET request.
Xhr
Type: Function
A XMLHttpRequest object needs to be returned. The default is ActiveXObject under IE, and in other cases it is xmlhttprequest. Used to override or provide an enhanced XMLHttpRequest object. This parameter is not available until JQuery 1.3.
Timeout
Type: Number
Sets the request timeout (in milliseconds). This setting overrides the global setting.