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

Kowalkowski, Lee (ASPIRE) lee.kowalkowski at hmrcaspire.com
Thu Sep 1 02:55:51 CDT 2005


 -----Original Message-----
> From: Matt Warden [mailto:mwarden at gmail.com]
> Sent: Wednesday, August 31, 2005 7:07 PM
> 
> Lee,
> 
> bar() is a javascript behavior just as alert() and open() are. You
> have JavaScript embedded within your markup. There is no such thing as
> an interface in JavaScript (to my knowledge). This is a JavaScript
> function, which is a definition of behavior. Further, the "onFoo" part
> is also a definition of behavior.

OK, except bar() in my example was not a JS function, just a reference to
it.

No, there's no official interface in JS, but all those event handler
definitions in markup are very close, metaphorically speaking.

- 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