Hello All
I need some help in a form i'm creating. I have to fields with drop down select boxes. What i want to do is, when a user selects a given value in one drop down, the other drop down should atumatically change to another value.
Ex: the user choses the number "4" in one box, then the other box should change to "4 WD".
Here is my code:
[HTML]<select name="job___num _layers" onChange="docum ent.getElementB yId('parray_div ').style.displa y=(this.selecte dIndex>1)?'bloc k':'none';">
<option value="2" selected="selec ted">2</option>
<option value="4">4</option>
<option value="6">6</option>
<option value="10">10</option>
<option value="14">14</option>
<option value="18">18</option>
</select>
<select name="job___num _layers">
<option value="3WD" selected="selec ted">3 WD (Standard)</option>
<option value="4WD">4 WD (standard)</option>
<option value="5WD">5 WD (standard)</option>
<option value="7WD">7 WD (standard)</option>
<option value="8WD">8 WD (standard)</option>
<option value="9WD">9 WD (standard)</option>
</select>[/HTML]
I need some help in a form i'm creating. I have to fields with drop down select boxes. What i want to do is, when a user selects a given value in one drop down, the other drop down should atumatically change to another value.
Ex: the user choses the number "4" in one box, then the other box should change to "4 WD".
Here is my code:
[HTML]<select name="job___num _layers" onChange="docum ent.getElementB yId('parray_div ').style.displa y=(this.selecte dIndex>1)?'bloc k':'none';">
<option value="2" selected="selec ted">2</option>
<option value="4">4</option>
<option value="6">6</option>
<option value="10">10</option>
<option value="14">14</option>
<option value="18">18</option>
</select>
<select name="job___num _layers">
<option value="3WD" selected="selec ted">3 WD (Standard)</option>
<option value="4WD">4 WD (standard)</option>
<option value="5WD">5 WD (standard)</option>
<option value="7WD">7 WD (standard)</option>
<option value="8WD">8 WD (standard)</option>
<option value="9WD">9 WD (standard)</option>
</select>[/HTML]
Comment