Hi,
I'm having problems submitting a form and passing field values..
I have a page which is displayed and has the following form
<form method="post" action="name.asp" name="frmMain">
<p align="center">
<input type="hidden" name="name" value="Y">
<input type="submit" value="submit">
</p>
</form>
now this works ok, as it posts to name.asp right ?
but what i WANT to do is have name.asp open using a javascript:window.open("name.asp",null,sFeatures)
so i tried posting the form to the above javascipt:window.open.. blah blah but the hidden input field within the form never got passed through !
Is there anyway to get this passed to name.asp AND have name.asp open in a window with its specified size etc.. ?
Any help appreciated..
Thanks..
I'm having problems submitting a form and passing field values..
I have a page which is displayed and has the following form
<form method="post" action="name.asp" name="frmMain">
<p align="center">
<input type="hidden" name="name" value="Y">
<input type="submit" value="submit">
</p>
</form>
now this works ok, as it posts to name.asp right ?
but what i WANT to do is have name.asp open using a javascript:window.open("name.asp",null,sFeatures)
so i tried posting the form to the above javascipt:window.open.. blah blah but the hidden input field within the form never got passed through !
Is there anyway to get this passed to name.asp AND have name.asp open in a window with its specified size etc.. ?
Any help appreciated..
Thanks..