Pop Up Window refresh parent

HTML, JavaScript Add comments

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:

if (window.opener && !window.opener.closed) {

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in