Use two buttons for my form.
Posted on 2006-04-12
I have a web-page with two <select> lists. I would like an extra button for the first <select> that sends data to some other page. It already has a (hidden) submit button as you will see in the code. This is in Perl.
print "<form action=that.pl method=post>"
print "<select size=6 id=a name=sel2 onchange=\"if(this.selectedIndex != -1) submit();\">";
#print "<input type=submit id=gv2 value=Go>";
print "</form></td><td align=center>-</td><td>";
print "<form action=this.pl method=post><select name=trig_list size=6>";
print "</select><br><input type=submit value=\"<<\"></form>";