Retrieves the parent of the window in the object hierarchy.
Syntax
HTML N/A Scripting [ oElement = ] window.parent
Possible Values
oElement Object that specifies the parent. The property is read-only with no default value.
Remarks
For a document, the parent is the containing window. For a window defined using FRAME, the parent is the window that contains the corresponding FRAMESET definition.
Applies To
window