i got a problem with that selectbox onchange event to change the other selectbox option value, i'm looking for help here...
<form name="test">
<select name="a" onchange="this.form.nc.selectedIndex=this.selectedIndex">
<option>select1</option>
<option>A</option>
<option>B</option>
<option>C</option>
</select>
<select name="nc">
<%
for (int i=0;i<v.size();i++) {
String claname = (String)v.elementAt( i );
%>
<option value="<%=claname%>"><%=claname%>
<%
}
%>
</select>
<%
}
</form>
if a user pick up a value A in selectbox a, the selectbox nc option will auto jump to the A too, how can i make it ...
thank you for help ... thx a lot
jump to