Hi,
I have a page that on submit button press redirects to the submit page.
When the submit page is done it sets the page back to the page that called the submit and opens a new window.
The new window is opening first and when the first window reloads (takes longer) it ends up on top.
Is there a way to make the new window stay on top
page one (infoEnter.asp)
window.document.form1.action = "submit.asp?count="+ Counter + "&printable=yes&" + QS;
window.document.form1.submit();
page two (submit.asp)
<%if Request.QueryString("printable") = "yes" then%>
<script language="javascript">
window.document.location.href="infoEnter.asp?<%=Request.QueryString%>";
parent.window.open("Printable.asp?<%Request.QueryString%>" , "PrintInfo","top=50,left=50,width=550,height=300");
</script>
I have a page that on submit button press redirects to the submit page.
When the submit page is done it sets the page back to the page that called the submit and opens a new window.
The new window is opening first and when the first window reloads (takes longer) it ends up on top.
Is there a way to make the new window stay on top
page one (infoEnter.asp)
window.document.form1.action = "submit.asp?count="+ Counter + "&printable=yes&" + QS;
window.document.form1.submit();
page two (submit.asp)
<%if Request.QueryString("printable") = "yes" then%>
<script language="javascript">
window.document.location.href="infoEnter.asp?<%=Request.QueryString%>";
parent.window.open("Printable.asp?<%Request.QueryString%>" , "PrintInfo","top=50,left=50,width=550,height=300");
</script>