Window.opener.document.reload?

How would one do this

open a pop up window, and when done executing something in the pop up window, refresh the opening window and then close the pop up…

I’m thinking something like

window.opener.document.reload();
window.close();

although this doesn’t work as I am asking for some help…

TIA

Billy

I did it through puting a submit button to refresh on the form
and call that button like…

opener.document.forms[0].cmdRefresh.click();
window.close();

maybe not the best idea but it works… :smiley:

Thanks mats

I ended up doing it this way.

window.opener.location.reload();
window.close();

your way looks cool, though, and I never thought of even trying that…

Thanks.

Billy