Name
parentWindow — NN n/a IE 4 DOM n/a
Synopsis
Read-only
Returns a reference to the window
object (which
may be a frame in a frameset) that contains the current document. You
can use this reference to access the window’s properties and
methods directly. The returned value is the same as the
window
reference from the document.
Example
var siblingCount = document.parentWindow.frames.length
Value
Element object reference.
Default
window
object.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.