Activate your free membership today | Log-in

Friday, September 2nd, 2005

addEvent() considered harmful

Category: Articles

<>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:

Posted by Dion Almaer at 1:50 am
Comment here

+++--
3.7 rating from 3 votes

Comments Here »

Comments feed

Leave a comment

You must be logged in to post a comment.