I have two drop-down lists, and I would like to make it so that when someone selects, for example, the value 2 from dropdown1, dropdown2 automatically changes to the value 2. Is this possible with jquery?
<select id="dropdown1">
<option value="1">Item1</option>
<option value="2">Item2</option>
<option value="3">Item3</option>
</select>
<select id="dropdown2">
<option value="1">Item1</option>
<option value="2">Item2</option>
<option value="3">Item3</option>
</select>
source
share