let say i have a form...with 2 drop down lists.
contents of list2 depends on the choice in list1.
Code: Select all
<td>select a manufacturer</td>
<td><select name="selectcar" size="1">
//database connection and query to display car
<td>car model </td>
<td><select name="selectmodel" size="1">
//query = "select carmodel from car
where manufacturer =
'some value from selectcar'";
then display car model
if both lists are in the same form, how do i pass value from list1 to list2?