Y
yankee
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?update_doc=1&doc_id=27&version=1&revision=0&no_sop=SOP1435">SOP1435
<OPTION
VALUE="/cgi-bin/doctrack.cgi?update_doc=1&doc_id=3&version=1&revision=0&no_sop=SOP2223">SOP2223
<OPTION
VALUE="/cgi-bin/doctrack.cgi?update_doc=1&doc_id=5&version=1&revision=0&no_sop=SOP2224">SOP2224
<OPTION
VALUE="/cgi-bin/doctrack.cgi?update_doc=1&doc_id=33&version=1&revision=0&no_sop=SOP2225">SOP2225
</SELECT></td>
</tr>
</table></form>
<BR>
<input type="button" value="Next -->"
onClick="document.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?update_doc=1&doc_id=27&version=1&revision=0&no_sop=SOP1435">SOP1435
<OPTION
VALUE="/cgi-bin/doctrack.cgi?update_doc=1&doc_id=3&version=1&revision=0&no_sop=SOP2223">SOP2223
<OPTION
VALUE="/cgi-bin/doctrack.cgi?update_doc=1&doc_id=5&version=1&revision=0&no_sop=SOP2224">SOP2224
<OPTION
VALUE="/cgi-bin/doctrack.cgi?update_doc=1&doc_id=33&version=1&revision=0&no_sop=SOP2225">SOP2225
</SELECT></td>
</tr>
</table></form>
<BR>
<input type="button" value="Next -->"
onClick="document.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