Event delegation is great solution + Prototype now have Element.on
method.

Another thing I want to mention here is that it seams that PrototypeJs
now cleans the element event handlers automatically when using
Element.update ( via new method Element.purge ) -
http://github.com/sstephenson/prototype/commit/c9d6c3ee14747179a1038bc21055f2d6ccd492c4
but this is currently in the repo and not it the official version

-- 
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 prototype-scriptacul...@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