SELECTED ..... fungere ikke
Hvad er der galt med denne kode.... den skulle "SELECT".... men det gør den ikke:<%
If rs("gruppe") = mini Then
Response.Write "<select name='gruppe' size='1' style='font-family:verdana; font-size:10; background-color:#F0F0F0'>"
Response.Write "<option SELECTED value='mini'>Mini</option>"
Response.Write "<option value='lilleput'>Lille Put</option>"
Response.Write "<option value='puslinge'>Puslinge</option>"
Response.Write "<option value='dp'>Drenge/Pige</option>"
Response.Write "<option value='junior'>Junior</option>"
Response.Write "<option value='ynglinge'>Ynglinge</option>"
Response.Write "<option value='senior'>Senior</option>"
Response.Write "</select>"
ElseIf rs("gruppe") = lilleput Then
Response.Write "<select name='gruppe' size='1' style='font-family:verdana; font-size:10; background-color:#F0F0F0'>"
Response.Write "<option value='mini'>Mini</option>"
Response.Write "<option SELECTED value='lilleput'>Lille Put</option>"
Response.Write "<option value='puslinge'>Puslinge</option>"
Response.Write "<option value='dp'>Drenge/Pige</option>"
Response.Write "<option value='junior'>Junior</option>"
Response.Write "<option value='ynglinge'>Ynglinge</option>"
Response.Write "<option value='senior'>Senior</option>"
Response.Write "</select>"
ElseIf rs("gruppe") = puslinge Then
Response.Write "<select name='gruppe' size='1' style='font-family:verdana; font-size:10; background-color:#F0F0F0'>"
Response.Write "<option value='mini'>Mini</option>"
Response.Write "<option value='lilleput'>Lille Put</option>"
Response.Write "<option SELECTED value='puslinge'>Puslinge</option>"
Response.Write "<option value='dp'>Drenge/Pige</option>"
Response.Write "<option value='junior'>Junior</option>"
Response.Write "<option value='ynglinge'>Ynglinge</option>"
Response.Write "<option value='senior'>Senior</option>"
Response.Write "</select>"
ElseIf rs("gruppe") = dp Then
Response.Write "<select name='gruppe' size='1' style='font-family:verdana; font-size:10; background-color:#F0F0F0'>"
Response.Write "<option value='mini'>Mini</option>"
Response.Write "<option value='lilleput'>Lille Put</option>"
Response.Write "<option value='puslinge'>Puslinge</option>"
Response.Write "<option SELECTED value='dp'>Drenge/Pige</option>"
Response.Write "<option value='junior'>Junior</option>"
Response.Write "<option value='ynglinge'>Ynglinge</option>"
Response.Write "<option value='senior'>Senior</option>"
Response.Write "</select>"
ElseIf rs("gruppe") = junior Then
Response.Write "<select name='gruppe' size='1' style='font-family:verdana; font-size:10; background-color:#F0F0F0'>"
Response.Write "<option value='mini'>Mini</option>"
Response.Write "<option value='lilleput'>Lille Put</option>"
Response.Write "<option value='puslinge'>Puslinge</option>"
Response.Write "<option value='dp'>Drenge/Pige</option>"
Response.Write "<option SELECTED value='junior'>Junior</option>"
Response.Write "<option value='ynglinge'>Ynglinge</option>"
Response.Write "<option value='senior'>Senior</option>"
Response.Write "</select>"
ElseIf rs("gruppe") = ynglinge Then
Response.Write "<select name='gruppe' size='1' style='font-family:verdana; font-size:10; background-color:#F0F0F0'>"
Response.Write "<option value='mini'>Mini</option>"
Response.Write "<option value='lilleput'>Lille Put</option>"
Response.Write "<option value='puslinge'>Puslinge</option>"
Response.Write "<option value='dp'>Drenge/Pige</option>"
Response.Write "<option value='junior'>Junior</option>"
Response.Write "<option SELECTED value='ynglinge'>Ynglinge</option>"
Response.Write "<option value='senior'>Senior</option>"
Response.Write "</select>"
Else
Response.Write "<select name='gruppe' size='1' style='font-family:verdana; font-size:10; background-color:#F0F0F0'>"
Response.Write "<option value='mini'>Mini</option>"
Response.Write "<option value='lilleput'>Lille Put</option>"
Response.Write "<option value='puslinge'>Puslinge</option>"
Response.Write "<option value='dp'>Drenge/Pige</option>"
Response.Write "<option value='junior'>Junior</option>"
Response.Write "<option value='ynglinge'>Ynglinge</option>"
Response.Write "<option SELECTED value='senior'>Senior</option>"
Response.Write "</select>"
End If
%>