TOC PREV NEXT INDEX

Put your logo here!


contentDocument


The contentDocument property returns the document the frame contains, if any.

Syntax

document = frameElement.contentDocument 

Parameters

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.tile; 
} 

Notes

This property returns NULL if there is no current document

Specification

DOM Level 2 -- HTMLFrameElement


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX