October 7, 2005

Event Handlers

Scott Andrew wrote this classic piece of JavaScript on creating Event Handlers back in 2001. It’s a great script. A classic piece of JavaScript.

Nowadays the addEvent() is considered harmful. I use Simon Willison’s version of this script ALL THE TIME. I find it’s the base script that I start with whenever I start a new script.

Once they annouce the new fix/replacement for this script, I’ll start using that. There are new offerings that are appearing out there, in response to that call. But until a rock-solid replacement is announced, I think I’llcontinue to use Scott’s or Simon’s script.

Post Info

Tagged As Coding, Javascript

Comments are Open (0)

Posted at 07:45 AM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Search
Comments on this post
Categories
Info
Tony Stephens
Copyright © 1995-2005
Site Version:
10
Licensed:
Creative Commons
Validate:
XHTML, CSS, 508, RSS
Subscribe
Blog-Fu, Link-Fu