Side navigation
#1274 closed bug (fixed)
Opened June 06, 2007 05:25PM UTC
Closed August 19, 2007 09:10PM UTC
ajaxSend(callback), ajaxSuccess(callback) problems in jQuery 1.1.2
Reported by: | Heflying | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.4 |
Component: | docs | Version: | 1.1.3 |
Keywords: | ajax,jQuery,bug | Cc: | |
Blocked by: | Blocking: |
Description
$("#msg").ajaxSend(function(request, settings){
$(this).append("<li>Starting request at " + settings.url + "</li>");
});
Problem: settings.url return "undefined".
In fact,the callback is "function(obj, request, settings)"
obj: [an object] I do not know what object.
request: the XMLHttp object.
settings: ajax settings
我不知道这是不是一个bug,同样的问题还存在ajaxError(callback),ajaxSuccess(callback)等函数中。
This is a bug in the docs. Trigger passes the event as the first object.