I have the following code
<select id="practice_id" name="practice" column="practice" style="width: 200px">
<option value="">Default</option>
<option value="1">Test 1</option>
<option value="2">Test 2</option>
<option value="3">Test 3</option>
...............
</select>
What I need to do, is to change the value of the selected item to one based on a query string number (I can get this value ok)
I am trying to change the value using jQuery, but nothing I've tried seems to work.
$('#practice_id').val('QUERY_STRING_NUMBER');
This doesn't seem to work as the value doesn't change.
I am I getting something wrong here?
Thanks