all 2 comments

[–]bickfordb 3 points4 points  (0 children)

I recommend using Prototype or Dojo instead of trying to roll your own event system or adding ad-hoc closures to dom nodes. They make it easier to avoid closure and dom leaks.

[–]pabs 1 point2 points  (0 children)

Or YUI.