Opened 16 years ago
Closed 16 years ago
#1274 closed bug (fixed)
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)等函数中。
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Component: | ajax → docs |
---|---|
Milestone: | 1.1.3 → 1.1.4 |
Resolution: | → fixed |
Status: | new → closed |
Version: | 1.1.2 → 1.1.3 |
Fixed the docs.
Note: See
TracTickets for help on using
tickets.
This is a bug in the docs. Trigger passes the event as the first object.