Hi there, I'm not very good at javascript but I'm using the following
to close a child window and refresh a parent window after updating a
database. It's within an ASP page.
CODE
<SCRIPT>
function CloseWindow() {
if (window.opener && !window.opener.closed) {
window.opener.document.location.reload();
window.close();
}
}
</SCRIPT>
When my parent window reloads, is there any way to include a
querystring, or replace the parent with another URL? It needs to
reload, but it needs to jump to a particular anchor on the page. I do
not want to use session variables. Any way to modify the above code
to accomplish this? Thanks.