Friday, September 2nd, 2005
addEvent() considered harmful
<>p>addEvent() considered harmful is an interesting entry that delves into the world of events and JavaScript.Are there differences between the W3C and Microsoft event registration models?. Yuppers.
The article discusses:
- Unlimited event handlers
- Avoiding memory problems in IE
- The difference between addEventListener and attachEvent
- addEvent() and a foldout menu
We do have libraries that help abstract these things away. Dojo has a nice, rich, event model. Prototype has support too. And TwinHelix has a humble AddEvent Manager
Related Content:











Leave a comment