parent

HTML (DHTML)

parent Property

Internet Development Index

Retrieves the parent of the window in the object hierarchy.

Syntax

[ oElement = ] window.parent

Possible Values

oElement Object that receives the parent.

The property is read-only. The property has 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.

Standards Information

There is no public standard that applies to this property.

Applies To

window