- From: Jesse McCarthy <mccarthy36@earthlink.net>
- Date: Fri, 9 Nov 2001 09:01:20 -0500
- To: www-dom@w3.org, neil_laurance@yahoo.co.uk
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