I have edited my jquery.js file to look like this:
// If a local callback was specified, fire it and pass it the data
if ( s.success ) {
if ( s.scope ) {
s.success.call( s.scope , data , status );
}
else {
s.success( data, status );
}
}
----- Original Message ----
From: lagos.tout <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, April 5, 2007 2:39:50 PM
Subject: [jQuery] response handler scope
is it possible to specify the object scope of the
method that handles an ajax response?
the method defaults to executing in the global scope,
i.e. the window. i'd be grateful for any suggestions
on how to change this.
thanks.
j.