hi-
i have a popup page that i want to autoclose after its executed some code and tell the parent to refresh and add some info to it’s query string, so i can add a “Updated.” notice to the parent page.
i’m trying to do it like this:
<html>
<head>
<script language="JavaScript">
function exit_this()
{
opener.window.location.href += "?update=done";
opener.window.location.reload();
self.close();
return false;
}
</script>
<TITLE>Update Post</TITLE>
</head>
<body onload="exit_this()">
Done..
</body>
</html>
it refreshs the parent page but the url doesn’t update to ?update=done, it stays the same as it originally was.
what am i doing wrong here? thanks for any help!