How can I refresh a page after closing a popup? After the user opens the popup, I give a series of options that change the page where the user opened the popup and need that updated page after the user closes the popup. How can I do it?
How can I refresh a page after closing a popup? After the user opens the popup, I give a series of options that change the page where the user opened the popup and need that updated page after the user closes the popup. How can I do it?
In javascript there is the good old reload function:
location.reload();
And it has the advantage of working on the major browsers . : -)
I used it like this:
//principal.htm
<body onunload="window.opener.location.reload();">
//popup.htm
<script>opener.location.reload(); window.close();</script>