My first question is, what is it you're trying to accomplish that you need mouseenter/mouseleave handlers on the tr? What's your use case or user story?
TAG On Jul 9, 6:10 pm, kstubs <[email protected]> wrote: > 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
