RE: [PHP] Popup Window Problems & Refresh
| From: | Matt Williams | Date: | Wed, 31 Oct 2001 11:16:44 +0000 |
| Subject: | RE: [PHP] Popup Window Problems & Refresh | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73002@lists.php.net to get a copy of this message | ||
> The action for the form is only fired if the onClick="window.close() is
> removed. My question is how can I close the window and refresh or reload
> the specified window.
>
<script language="javascript">
function endWindow()
{
window.opener.location.reload();
window.close();
}
</script>
<a href="javascript:endWindow()">Close Window</a>
M: