Forum Moderators: open
What is the right way to force the parent page to refresh, say on closing the pop-up window, or preferably, not to suspend at all? Am a newbie so pls take into consideration when suggesting fix :o)
Many thanks.
<script>
function parentReload(){
window.opener.history.go(0);
}
</script>
Then add this to the body tag of the pop up html:
<body onload="parentReload()">
This will fire the reload when the pop up finishes loading.
You can also return a false from the pop-up call in the parent to kick off the gifs and loading.