I have a form type deal where a user clicks a link and then it spawns a small form in a pop-up window. Is it possible to force a page reload when that popup window closes?
A:
Capture the closing event on the child window and use something like this to reload the parent
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}
Marek Karbarz
2010-01-14 14:57:04