True, but the first argument (event) is not needed here, imho... So,
one could also say the relevant code is wrong :P
Martijn
On 26-jan-2007, at 16:55, Mike Alsup wrote:
>> I'm struggling with these global ajax callback handlers. The
>> documentations states as follows:
>>
>> $("#msg").ajaxComplete(function(request, settings){
>> $(this).prepend('<p>Successfully loaded
>> url: ' + settings.url + '</
>> p>');
>> }
>> );
>
>
> Those docs look wrong. The first arg is the event object, the second
> is the XHR, and the third is the settings object.
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/