该函数被调用取决于请求失败。该回调函数被传入如下参数: The function to be called upon failure of the request. The callback is passed the following parameters:
包含数据的xhr对象。 The XMLHttpRequest object containing the response data.
请求所调用的参数。 The parameter to the request call.
回调函数的作用域:回调函数"this"对象指针。默认值为浏览器窗口。 The scope in which to execute the callbacks: The "this" object for the callback function. If the url, or params options were specified as functions from which to draw values, then this also serves as the scope for those function calls. Defaults to the browser window.
用来压入参数的一个<form>元素或<form>的标识。 The <form> Element or the id of the <form> to pull parameters from.
如果该form对象是上传form,为true(通常情况下会自动探测)
为请求所加的请求头。 Request headers to set for the request.
用于发送的xml document。注意:它将会被用来在发送数据中代替参数任务参数将会被追加在url中。 XML document to use for the post. Note: This will be used instead of params for the post data. Any params will be appended to the URL.
JSON data to use as the post. Note: This will be used instead of params for the post data. Any params will be appended to the URL.
设置为True,则添加一个独一无二的cache-buster参数来获取请求。 True to add a unique cache-buster param to GET requests