Skip to main content

Bug Tracker

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)等函数中。

Attachments (0)
Change History (2)

Changed June 17, 2007 11:36PM UTC by malsup comment:1

This is a bug in the docs. Trigger passes the event as the first object.

Changed August 19, 2007 09:10PM UTC by john comment:2

component: ajaxdocs
milestone: 1.1.31.1.4
resolution: → fixed
status: newclosed
version: 1.1.21.1.3

Fixed the docs.