In my case, I opened a popup when I clicked on a link on the parent page. To update a parent when closing a child using
window.opener.location.reload();
in the child window is called to reopen the child window (possibly due to the viewing state, I think. Correct me if I am wrong). Therefore, I decided not to reload the page in the parent and load the page, again assigning it the same url.
To avoid the popup popup after closing the popup, this may help,
window.onunload = function(){ window.opener.location = window.opener.location;};
Jitendra Sawant Jun 27 '15 at 13:02 2015-06-27 13:02
source share