Api reads:  

callback (Function <http://api.prototypejs.org/language/Function/>) – The 
event handler function. Should expect two arguments: the event object *and* the 
element that received the event. (If selector was given, this element will 
be the one that satisfies the criteria described just above; if not, it 
will be the one specified in the element argument). This function is *always
* bound to element.

So this means there is no way to bind to a class, to *this* class?  Most of 
the time it makes sense that the event listener is bound to the class and 
not the element.  Are there any possibilities of allowing you to pass 
context to the on function?


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To view this discussion on the web visit 
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to