[thelist] javascript default event handlers, default events. [TIP]
Kowalkowski, Lee (ASPIRE)
lee.kowalkowski at hmrcaspire.com
Thu Sep 1 03:06:06 CDT 2005
> -----Original Message-----
> From: VOLKAN ÖZÇELIK [mailto:volkan.ozcelik at gmail.com]
> Sent: Wednesday, August 31, 2005 7:32 PM
>
> > Do you see how this is more loosely coupled from a
> behaviour / presentation
> > standpoint?
>
> Forgive me if I got it wrong, but we are talking about "seperation" of
> javascript/event/behavior/whatsoever from markup, not "coupling" of
> them.
>
> Or do we?
I dunno anymore! I think I'm talking about view
(presentation+content+structure) / controller, and everyone else is on about
code / markup.
Matt insists that doing document.getElementById isn't referencing the
markup, just the DOM, but if you did a body.innerHTML or whatever, you'd get
all the markup, no matter how it was generated, whether it was in the
original HTML source or added in your JS. I believe there's no significant
distinction, nor than one way is better than the other.
- 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