Hi,
I'm trying to hide my form's fields in the javascript include file. I need to submit the form to a new window. Can someone help me please?
I need to use window.open to control the size, status bar...features. When the form is submitted, I can call a javascript funtion but how can I pass the Dept value I have selected? I'm using JSP. Thanks.
I'm trying to hide my form's fields in the javascript include file. I need to submit the form to a new window. Can someone help me please?
Code:
<form name=myForm method=post action="[URL unfurl="true"]http://www.myotherpage.com">[/URL]
<input type=hidden name=empid value="....">
<input type=hidden name=empName value="....">
<select name=Dept>
<option value=Dept1>Dept1</option>
<option value=Dept2>Dept2</option>
<option value=Dept3>Dept3</option>
</select>
<input type=sumit name=btnSumit value=submit>
I need to use window.open to control the size, status bar...features. When the form is submitted, I can call a javascript funtion but how can I pass the Dept value I have selected? I'm using JSP. Thanks.