You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
contentDocument
The contentDocument property returns the document the frame contains, if any.
Syntax
document = frameElement.contentDocumentParameters
document is an object reference to the document contained in the given frame.
Example
f = document.getElementById("frame"); if ( f.contentDocument ) { src_doc = f.contentDocument; working_title = src_doc.title; }
Notes
This property returns NULL if there is no current document
Specification
Netscape Communications http://developer.netscape.com |