window.document

JavaScript1.0+, JScript1.0+

Nav2+, IE3+, Opera3+

 

Syntax

Creates Instance of Document Object.

window.document.eventwindow.document.method()window.document.property

Description

The document property, which is a child object of the Window object, is a core JavaScript object that is created when instances of the <body> tag are encountered. The properties, methods, and events associated with this object are in Table 8.40.

Table 8.40 Event Handlers, Methods, and Properties Used by the Window.document Property

Image

Image

See the entries in this ...

Get Pure JavaScript, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.