window.document

 

Abstract

Returns a reference to the document that contains the window.

Syntax

doc = window.document 

Settings

  • doc is a reference to an object record .

Example

doc = window.document; 
window.dump (doc.title); 
// Displays the title of the current document in the console.

Specification

DOM Level 0. Not part of specification.

Étiquettes et contributeurs liés au document

Étiquettes : 
Dernière mise à jour par : arunpandianp,
Masquer la barre latérale