Window.document (Property)

A reference to the document object that is contained in the window.

Availability:

DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 3.0
Property/method value type:Document object
JavaScript syntax:-document
-myWindow.document

This property returns a reference to an object that represents the document that is currently loaded into the window.

Warnings:

See also:Document object, Document.parentWindow, Element.document, Frame object, Window object

Property attributes:

ReadOnly.

Cross-references:

Wrox Instant JavaScript - page - 80