TOC PREV NEXT INDEX

Put your logo here!


window.parent


Returns a reference to the parent of the current window or subframe.

Syntax

pWin = window.parent 

Parameters

pWin is an object reference to the parent window.

Example

if window.parent != window.top 
    // we're deeper than one down 

Notes

When a window is loaded in a frameset, its parent is .

Specification

DOM Level 0. Not part of specification. 


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