[thelist] javascript default event handlers, default events. [TIP]

Kowalkowski, Lee (ASPIRE) lee.kowalkowski at hmrcaspire.com
Thu Sep 1 04:23:40 CDT 2005

> -----Original Message-----
> From: marcus [mailto:m-lists at bristav.se]
> Sent: Thursday, September 01, 2005 10:11 AM
> Or, if you do something like OO widgets, you would attach 
> them in each 
> class since, when doing OO, every object should be 
> responsible of their 
> own behaviour.

Well done Marcus!  This is a very good argument for NOT adding event
handlers programatically (when the markup isn't added programatically).
You're making another object responsible for an element's behaviour.

- LK

Our e-mail domain has now changed from iraspire.com to hmrcaspire.com. Please update your address books.

More information about the thelist mailing list