You can just use val() method:
$('#select').val('the_value');For checkboxes, radios, and listboxes the command sets the "selected" attribute for those items.
You can just use val() method: $('#select').val('the_value'); For checkboxes, radios, and listboxes the command sets the "selected" attribute for those items.
$('#select').val('the_value');