I have been all over the net and trying code. So far nothing has worked.
I'm running IE6 whith this code:
formtest1.asp's code is:
<form action="formtest2.asp" method="post" target="foo" onsubmit="window.open('', 'foo', 'width=400,height=300,status=yes,resizable=yes,scrollbars=yes')">
<p>Some text here:
<input name="sometext" type="text" id="sometext">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
What I want to do is submit a form's data to a popup window that will create a report. You can not use the open command or the posted info will not transfer.
formtest2.asp's code is:
<p>Submitted form window...</p>
Value of sometext was <%=Request.Form("sometext"%>
I get the small popup window *blank*, and another fullsize window which is formtest2.asp.
Please tell me what I am doing wrong?
I'm running IE6 whith this code:
formtest1.asp's code is:
<form action="formtest2.asp" method="post" target="foo" onsubmit="window.open('', 'foo', 'width=400,height=300,status=yes,resizable=yes,scrollbars=yes')">
<p>Some text here:
<input name="sometext" type="text" id="sometext">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
What I want to do is submit a form's data to a popup window that will create a report. You can not use the open command or the posted info will not transfer.
formtest2.asp's code is:
<p>Submitted form window...</p>
Value of sometext was <%=Request.Form("sometext"%>
I get the small popup window *blank*, and another fullsize window which is formtest2.asp.
Please tell me what I am doing wrong?