Re: What is the meaning of the DOM ECMAScript binding?

Neil Laurance <neil_laurance@yahoo.co.uk> wrote on 11/9/01 8:54:44 AM:
>Jesse, you are absolutely right. However, so long as NS and Microsoft state
>which object represents Document, then I see this as a faily trivial issue, for
>exampe:
>
>getBrowserType();  // some function to determine browser type based on
>navigator object
>
>var doc;
>if( browser.isNS || browser.isIE ) { doc = window.document; }
>if( browser.isNeils ) { doc = neil; }
>
>var node = doc.getElementById( 'myId' ); ......
>
>Cheers, Neil

I disagree that it is trivial.  What is the use of standards if you still have 
to write code forks to accomodate every browser known to man? 

Received on Friday, 9 November 2001 09:06:52 UTC