Check if a popup window is closed

后端 未结 4 1353
旧巷少年郎
旧巷少年郎 2020-11-29 11:34

I am opening a popup window with

var popup = window.open(\'...\', \'...\');

This javascript is defined in a control. This control is then

4条回答
  •  旧时难觅i
    2020-11-29 11:43

    Try this:

    window.opener.location.reload(true);
    

    or

    Into the popup before closing

    window.opener.location.href = window.opener.location.href;
    window.close();
    

提交回复
热议问题