Javascript call parent window’s functions from child popup window

It’s that simple:

Parent:

<script >function something(){ alert(‘here’); }</script >

Popup:

<script> window.opener.something(); </script >

http://www.w3schools.com/jsref/prop_win_opener.asp

Leave a Reply

You must be logged in to post a comment.