Write some text to the source (parent) window:
The opener property returns a reference to the window that created the window.
When opening a window with the window.open() method, you can use this property from the destination window to return details of the source (parent) window.
Coding Tip: window.opener.close() will close the source (parent) window.
Property | |||||
---|---|---|---|---|---|
opener | Yes | Yes | Yes | Yes | Yes |
Return Value: | A reference to the window that created the window |
---|