TOC PREV NEXT INDEX

domref



window.opener


Returns a reference to the window that opened this current window.

Syntax

wObj = window.opener
 

Parameters

wObj is an object reference.

Example

if window.opener != indexWin {
 
    referToTop(window.opener);
 
}
 

Notes

When a window is opened from another window, it maintains a reference to that first window as window.opener. If the current window has no opener, this method returns NULL.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX