Window JavaScript Tutorial

Syntax

window.opener
    window.opener.method
    window.opener.property
The opener property corresponds to the window that opens the window. When accessed by a child window, it returns the parent window.


    
    
    
    
    
    
    

      Click the following button to open a new window: