I have something like this:

            tr.on('mouseenter',thiz.Mousing.bindAsEventListener(thiz));
            tr.on('mouseleave',thiz.Mousing.bindAsEventListener(thiz));

This table is built frequently (every few keystrokes by the user) so I need 
to setup the mouseenter and mouseleave event and tear them down just as 
quickly.

So, when I go to update the table container (whipe it out each time) I'd 
like to call one or two very convenient inokes on the tr's, something like:

this.table.select('tr').invoke( ... tear down those events here ... );

Is this the correct approach, or must I itterate through the result of each 
tr and tear them down this way?

Karl..

-- 
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 
https://groups.google.com/d/msg/prototype-scriptaculous/-/nHZI_5RW018J.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to