How do you select a particular option in a SELECT element in jQuery?
You can just use val() method: $('#select').val('the_value'); For checkboxes, radios, and listboxes the command sets the "selected" attribute for those items.
// 1 match
You can just use val() method: $('#select').val('the_value'); For checkboxes, radios, and listboxes the command sets the "selected" attribute for those items.