addEvent() considered harmful

Peter-Paul Koch is looking for ways around Internet Explorer memory handling bugs that under some circumstances are triggered by Scott Andrew LePera’s addEvent() cross browser event handler script. addEvent() considered harmful is required reading if you use this script and experience problems with Internet Explorer.

  • September 5, 2005
  • Comments closed
  • Posted in

Comments

1. September 10, 2005 by Lachlan Hunt

I aways preferred to use the standard DOM2 event model: document.addEventListener() or Element.addEventListener. Unfortunately, support for has been lacking in IE. So, to address the problems with addEvent and the problem with IE in general, I implemented DOM 2 Events in IE.

Sorry, comments are closed for this post.

Search and sponsorship

SidebarAds

Looking for web hosting?

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up!