Peter-Paul Koch gassinaumasis at hotmail.com
Mon May 7 14:18:17 CDT 2001

> > Sounds typically Microsoft, so I believe you. I installed IE5 on the 
>same computer, so maybe the script engine has been updated automatically.
>     Yep. That'll do it. Actually, I think it's a great idea in theory -- 
>being able to update the scripting capability of a browser without updating 
>the browser itself. But then, who's going to do that?

Microsoft? They do sneakily update Explorer.

> > Maybe not, but I never quite thought of it this way. Of course write() 
>is a  method of document, but I've always seen the DOM as a way to access 
>specific HTML elements and do something with them, so in that definition 
>document.write() would not be part of the DOM.
>     But it is part of the W3C DOM (Level 1) [1]. If you think about the 
>term "document object model" literally, it makes perfect sense IMHO.

Yes, it does. It's just that it's such an old trick, and it even works in 
all browsers! That conclusively proves it's not part of any advanced DOM 

>A document is made up of a series of objects, and is itself an object. Most 
>of these objects have properties and methods, and one of the methods of the 
>document object is the write() method.

I don't disagree with you, it's just that I use a vaguer, more intuitive 
definition of 'DOM'. document.write() isn't about access to HTML elements.

>     In fact, Microsoft was absolutely correct to segregate its proprietary 
>DOM (which it now refers to as its "DHTML Object Model") from its scripting 
>language -- as it had to in order to accommodate VBScript interaction with 
>the browser.

Hmmm...an advantage I hadn't yet thought of!  But the VBScript object model 
has slightly more methods than the JavaScript one (or at least, so it seems 
when I go through the MS documentation).


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

More information about the thelist mailing list