Document.parentWindow (Property)

The window object that contains the document.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Window object
JavaScript syntax:IEmyDocument.parentWindow

This is the parent window in which the document is currently being viewed. This window parent-child hierarchy is the nearest analogy that MSIE has to the Netscape layers facility.

If you write code to manage layers or parent-child windows (such as documents containing in-line frames), you will need to take account of browser differences and code accordingly.

See also:Document object, Frame object, Window object, Window.document, Window.frame

Property attributes:

ReadOnly.