if I have a dropdown with the following html:
<select id="myDropdown" name="myDropdown">
<option value="6">Six</option>
<option value="5">Five</option>
<option value="3">Three</option>
<option value="1">One</option>
</select>
How can I change this drop-down menu to a specific selected value after clicking a button?
source
share