I'm trying to update the selected option in a select box using jQuery. My html is as follows:
<select id="selectBox">
<option value="1">Value 1</option>
<option value="2">Value 2</option>
<option value="3">Value 3</option>
<option value="4">Value 4</option>
</select>
Using jQuery, how can I change the selected option from the default (first option) to the option with value 3 (third option)?
Thanks in advance