Is there a reason why so few toolkits include a parameter in their ajax and 
other functions that take a parameter for scope in addition to the callback 
function?

For example, Yahoo's Ajax utility allows us to specify an object as the scope 
for the callback function which they then use like this:

callback.call ( scope , ... )

otherwise the function is being executed in the window, as opposed to the 
object specified which gives access to 'this' data in the object.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to