How can I, using jQuery, set the \"next\" item of an already selected item as \"selected.\"
For example, if I have:
you can use
$('option:selected').next('option')
or
$('option:selected + option')
And set the value:
var nextVal = $('option:selected + option').val(); $('select').val(nextVal);