Click to return to the DHTML, HTML     
palette Property     parentElement Property     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

parent Property


Retrieves the parent of the window in the object hierarchy.

Syntax

HTMLN/A
Scripting[ oElement = ] window.parent

Possible Values

oElementObject 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
window


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.