HTMLObjectElement.contentDocument
The contentDocument
read-only property of
the HTMLObjectElement
interface Returns a Document
representing the active document of the object element's nested browsing context, if
any; otherwise null.
Syntax
var document = HTMLObjectElement.contentDocument;
Value
A Document
.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'contentDocument' in that specification. |
Living Standard | Initial definition. |
Browser compatibility
BCD tables only load in the browser