Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

opener

The opener property of the Window object a returns a reference to the window object that opened the current window.

Syntaxwindow.opener
doc1.html <script> window.open("doc2.html"); </script> doc2.html <script> window.opener.location = "http://www.adamkhoury.com"; </script>

JavaScript

Properties

bodycalleeclosedcookiedocumentdropEffecteffectAllowedfilesframeElementframeshistoryInfinityinnerHeightinnerHTMLinnerWidthlengthlocationlocationbarnameNaNnavigatornullopenerouterHeightparentprototypescreenstatetextContentundefined