Mar 04
If you have a script that opens up a new window using JavaScript: window.open()
on the child window, if you want to close the window and refresh the parent window, use the following code:
window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}
Recent Comments