ASP dynamic drop down
Hi
I have a table in a database and I would like to populate a dropdown menu along with some fields from this table. When the user selects an option from the drop down menu I want the description to change as well.
I have dynamically populated the drop down menu but I am having difficulty in having the corresponding description change.
<select name="date" id="date">
<% DO WHILE NOT objRS.EOF %>
<option onchange="<% Response.Write objRS("id") %>" value="<% Response.Write objRS("date") %>"><% Response.Write objRS("date") %><input name="id" type="hidden" value="<% Response.Write objRS("id") %>" /></option>
<%
objRS.MoveNext
Loop
%>
</select>
Also I'm not sure how to update the information when an option is selected from the drop down menu without having to submit the from?
Hope some one can help!
Many thanks....