DebbieDavis
Programmer
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.
When my parent window reloads, is there any way to include a querystring? It needs to reload, but it needs to jump to a particular anchor on the page. Any way to modify the above code to accomplish this? Thanks.
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? It needs to reload, but it needs to jump to a particular anchor on the page. Any way to modify the above code to accomplish this? Thanks.