javascript window document
| document | NN 2 IE 3 DOM 2 |
| Read-only | |
|
Returns a reference to the document object contained by the window. In browsers that offer W3C DOM document tree support, this property points more specifically to the root HTMLDocument node for the document tree loaded in the window. The W3C DOM even describes this property as a member of one of its View objects (analogous to a browser window). This is the property that lets scripts references to document methods and content begin with the word document. |
|
| Example | |
var oneElem = document.getElementById("myP");
|
|
| Value | |
Reference to the root document object. |
|
| Default | |
Reference to the root document object. |
|
Previous: javascript window event
2195,Nickname,Homepage or email,Comments here,Add comment
