G
Guest
I have a popup that does a postback to populate a listbox. on my content
page I want to fire a jscript that will refresh the parent on the unload. the
code on the content page looks like this.
<script>
function refreshParent()
{
window.opener.location.href = window.opener.location.href;
if (window.opener.progressWindow)
window.opener.progressWindow.close();
window.close();
}
</script>
<body onunload="refreshParent()">
Why does the event fire if all i'm doing is doing a search postback?
ideas?
thanks
page I want to fire a jscript that will refresh the parent on the unload. the
code on the content page looks like this.
<script>
function refreshParent()
{
window.opener.location.href = window.opener.location.href;
if (window.opener.progressWindow)
window.opener.progressWindow.close();
window.close();
}
</script>
<body onunload="refreshParent()">
Why does the event fire if all i'm doing is doing a search postback?
ideas?
thanks