Servlet dropdown list
Jeg vil gerne have en dropdown menu i stedet for de radio knapper. Jeg har følgende kode i html filen:<FORM METHOD=GET target="main" ACTION="servlet/test">
<P>Enter your: </P>
<P>Firstname:
<INPUT NAME="FirstName" TYPE="Text" VALUE = "" size="15" maxlength="10">
</P>
<!--
Test1 <INPUT NAME="LastName" type="radio" value="test1"><BR>
Test2 <INPUT NAME="LastName" type="radio" value="test2"><BR>
Test3 <INPUT NAME="LastName" type="radio" value="test3"><BR>
Test4 <INPUT NAME="LastName" type="radio" value="test4"><BR>
Test5 <INPUT NAME="LastName" type="radio" value="test5">
-->
<select input name="Lastname">
<option value="">Go to....
<option name="Lastname" value="http://www.yahoo.dk">Yahoo
<option name="Lastname" value="http://www.jubii.dk">Jubii
<option name="Lastname" value="http://www.altavista.com">Altavista
<option name="Lastname" value="http://www.kvasir.dk">Kvasir
<option name="Lastname" value="http://www.danban.dk">DanBan
<option name="Lastname" value="http://jscript.1go.dk">.javascripts
</select>
<BR><BR>
<INPUT TYPE="submit" VALUE = "Push">
</FORM>