mozilla
Your Search Results

    Window.opener

    Summary

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

    Syntax

    objRef = window.opener;
    

    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.  Windows Phone browser does not support window.opener.  It is also not supported in IE if the opener is in a different security zone.

    Hide Sidebar