
June 16th, 2006, 12:08 PM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 1
Time spent in forums: 11 m 30 sec
Reputation Power: 0
|
|
|
Refreshing options in a select
Code:
<table><tr><td>
<p><strong><font color="#FF0000">Choose an Environment:</font></strong> </td><td>
<select name="CheckEnvironmentTopic" value="<%=CheckEnvironmentTopic%>">
<option>None</option>
<% do while not (objEnvironmentTopic.eof) %>
<option ><%=objEnvironmentTopic.Fields("Environment")%></option>
<%
objEnvironmentTopic.movenext
loop %>
</select></td></tr>
<tr><td>
<strong><font color="#FF0000">Choose a Topic:</font></strong></td><td>
<select name="CheckTopic" value="<%=CheckTopic%>">
<option></option>
<% do while not (objTopic.eof) %>
<option ><%=objTopic.Fields("Topic")%></option>
<%
objTopic.movenext
loop %>
</select></td></tr><tr>
<td>
<input type="submit" value=" Search " /></td></tr></table>
Everything works but what I need to do to better enhance the experience for my users is to update the 2nd select statement based off the option chosen in the first select.
|