hey guys,
i want to know how to do this in
JSP..
Say I have dropdown A:
<select name = "department">
<option>A</option>
<option>B</option>
<option>C</option>
</select>
now depending on what was selected in drodpownA, drodown B will have the following options,
if "A" was selected, values 1, 2, and 3 will be the options
if "B" was selected, values 4, 5, and 6..
and if "C" was selected, values 7,8,9.
Now, these values (1-9) will be loaded from the database. and I just want to have a single page for the two dropdowns, how would that be possible? Could you write me the code?