TOC PREV NEXT INDEX

domref



window.document


Returns a reference to the document that the window contains.

Syntax

doc = window.document
 

Parameters

doc is an object reference.

Example

doc= window.document;
 
window.dump(doc.title);
 
// prints the current document's title to the console.
 

Notes

None.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX