I have two combo boxes.
They get their values from a database. The second combo box relies on values from the first. So the value of the first combo box is used to query a table and get the values for the second combo box. The second combo box looks like this.
<select name=cboSecondary size=1"
>
<%while not objRS.EOF
lID = clng(objRS("ID")%>
<option value="<%=lID%>"><%=objRS("School_City"%>
<% objRS.MoveNext
wend
objRS.Close
set objRS.ActiveConnection = nothing
set objRS = nothing
%>
Now the problem that I am having is trying to pass the information from cboSecondary combo box. It is easy to pass the ID but, I want to pass the school_city that the end-user selects. Any help would be greatly appreciated.
They get their values from a database. The second combo box relies on values from the first. So the value of the first combo box is used to query a table and get the values for the second combo box. The second combo box looks like this.
<select name=cboSecondary size=1"
>
<%while not objRS.EOF
lID = clng(objRS("ID")%>
<option value="<%=lID%>"><%=objRS("School_City"%>
<% objRS.MoveNext
wend
objRS.Close
set objRS.ActiveConnection = nothing
set objRS = nothing
%>
Now the problem that I am having is trying to pass the information from cboSecondary combo box. It is easy to pass the ID but, I want to pass the school_city that the end-user selects. Any help would be greatly appreciated.