Click to See Complete Forum and Search --> : Please help
mystichabor
January 24th, 2003, 03:29 PM
I have 2 select boxes; the second select box is dynamically populated when the first select box is selected.
1) <select name="oOption1" onchange="populatesecondbox()">
<%while not rs.EOF %>
<option value="<%=rs("project_id")%><%=rs("name")%></option>
antares686
February 5th, 2003, 04:52 AM
You are better off using arrays then populate the first box and based on selected have populate second. However you didn't really give us an idea of if this is the question you have or hwta it may be.
Thread1
February 10th, 2003, 12:52 AM
well maybe you were stucked on how to manipulate the database on the client-side for the population of your second select object.
Submit the page again then go back when you've already populated your selects or the when your page is complete. It's hard to manipulate databases on the clien-side.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.