S�ren Kuklau wrote:

> 
> For those who don't know what DOM is, the DOM inspector is useless. It's
> rather a tool for html and javascript authors.


And a damm fine one at that. The DOM Inspector, Venkman (the JS 
debugger) and "dump()" make Moz an insanely great web development 
platform (apologies to Steve Jobs).

For Erik: the DOM is a programming model which represents a HTML (or 
other markup-like) document as a tree. It defines standard methods and 
properties to allow programmers to manipulate the tree and hence the 
document.

For example, the DOM allows you to write some Javascript which inserts 
text into an HTML document, on the client side, after the page has been 
loaded. Most DHTML efftects that you see (images changing when you mouse 
over them, client-side form validation, etc) use the DOM.

Now, there's many different DOMs out there. The W3C's DOM (which S�ren) 
pointed you to is *the* DOM. It's the standard. MS has their own for IE, 
which is vaugely similar to the W3C DOM. NS has their own in NS4, which 
is a lot less similar to the W3C DOM. However, luckily for us Mozilla 
uses the W3C's DOM.

HTH,
Mike.

-- 
Mike Gratton <[EMAIL PROTECTED]>
"Every motive escalate."
  Blatant self-promotion: <http://web.vee.net/>


Reply via email to