Hi there,
That information is not passed through the form submit so if you want to retreive it you'll need to pass it as part of the value of the combo box option and parse it out when you retreive it. Like this:
[HTML] <select name="Combo1">
<option value="23,Foo">Foo</option>
<option value="7,Bar">Bar</option>
</select>
[/HTML]
-
<%
-
Dim aCombo1
-
If InStr(Request.Form("Combo1"), ",") > 0 Then
-
aCombo1 = Split(Request.Form("Combo1"), ",")
-
Response.Write "The selected value was " & aCombo(0) & "<br />"
-
Response.Write "The selected text was " & aCombo(1)
-
End If
-
Hope this helps,
Dr B