all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

contentDocument property

Retrieves the document object of the page or frame.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

Syntax

JavaScript

p = object.contentDocument

Property values

Type: Object

Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.

Standards information

See also

frame
iframe
object
contentWindow

 

 

Show:
© 2014 Microsoft