[EMAIL PROTECTED] schrieb:
> As an aside, or perhaps a branch, to this conversation... I'm a jQuery
> newbie, and have found it interesting that callbacks in the system do
> not seem to get parameters. In systems that I've used before that
> provided callbacks, those callbacks typically got a parameter or set of
> parameters that would allow them to affect the data being operated on.
> Is this a philosophical matter (callbacks should not modify the current
> operation?) or is there something I'm missing?
>   
Most callbacks can use 'this' to operate on the data. Some callbacks get 
paramters: An event object is passed to all event handlers, each is 
passed the iteration index. What else would you expect?
If you are interested in custom parameters and can't rely on closures: 
There is already a ticket for this: http://jquery.com/dev/bugs/bug/202/

-- Jörn

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to