Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves a reference to the root node of the document.
Syntax
[ oElement = ] document . documentElementPossible Values
oElement | Object that receives the reference to the document element. |
The property is read-only. The property has no default value.
Remarks
The root node of a typical HTML document is the html object.
Example
This example uses the documentElement property to retrieve the innerHTML property of the entire document.
<SCRIPT>Standards Information
This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
document |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |