Hello,
I use the following script inside a page. My page contains : 1 FORM,
Some Hidden fields, and one line of JAVASCRIPT in order to instantly
post the Form.
The problem is that under FIREFOX, the JAVASCRIPT line don't seems to
be correct, because FIREFOX does'nt post the Form... But my javascript
line looks correct to me...
Below is the Script; thanks for your Help in advance.
Alex.
<form action="my_next _page.html" method="POST" name="form1">
<input type="hidden" name="hidden_fi eld1" size="40"
value="some_val ue1">
<input type="hidden" name="hidden_fi eld2" size="40"
value="some_val ue2">
</form>
<!--The following Javascript line doesn't work, but why ?-->
<script language="JavaS cript">window.d ocument.form1.s ubmit();</script>
Thanks... :-)
I use the following script inside a page. My page contains : 1 FORM,
Some Hidden fields, and one line of JAVASCRIPT in order to instantly
post the Form.
The problem is that under FIREFOX, the JAVASCRIPT line don't seems to
be correct, because FIREFOX does'nt post the Form... But my javascript
line looks correct to me...
Below is the Script; thanks for your Help in advance.
Alex.
<form action="my_next _page.html" method="POST" name="form1">
<input type="hidden" name="hidden_fi eld1" size="40"
value="some_val ue1">
<input type="hidden" name="hidden_fi eld2" size="40"
value="some_val ue2">
</form>
<!--The following Javascript line doesn't work, but why ?-->
<script language="JavaS cript">window.d ocument.form1.s ubmit();</script>
Thanks... :-)
Comment