Hi all,
I have the following HTML code:
<form>
<table border=1 cellspacing=0 cellpadding=3>
<tr>
<td>Select a Document:</td>
<td><SELECT name="type" id="type">
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=27&version=1 &revision=0&no_ sop=SOP1435">SO P1435
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=3&version=1& revision=0&no_s op=SOP2223">SOP 2223
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=5&version=1& revision=0&no_s op=SOP2224">SOP 2224
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=33&version=1 &revision=0&no_ sop=SOP2225">SO P2225
</SELECT></td>
</tr>
</table></form>
<BR>
<input type="button" value="Next -->"
onClick="docume nt.forms[0].type.submit(); ">
When I click on the button, I have a javascript error. I just want to
execute the command into the "VALUE" argument when I click on the
button. How I can do that?
Thank you
Regards,
Yanick Quirion
I have the following HTML code:
<form>
<table border=1 cellspacing=0 cellpadding=3>
<tr>
<td>Select a Document:</td>
<td><SELECT name="type" id="type">
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=27&version=1 &revision=0&no_ sop=SOP1435">SO P1435
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=3&version=1& revision=0&no_s op=SOP2223">SOP 2223
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=5&version=1& revision=0&no_s op=SOP2224">SOP 2224
<OPTION
VALUE="/cgi-bin/doctrack.cgi?up date_doc=1&doc_ id=33&version=1 &revision=0&no_ sop=SOP2225">SO P2225
</SELECT></td>
</tr>
</table></form>
<BR>
<input type="button" value="Next -->"
onClick="docume nt.forms[0].type.submit(); ">
When I click on the button, I have a javascript error. I just want to
execute the command into the "VALUE" argument when I click on the
button. How I can do that?
Thank you
Regards,
Yanick Quirion
Comment