how to select option by jquery code example
Example 1: select option value jquery
$("select.country").change(function(){
var selectedCountry = $(this).children("option:selected").val();
alert("You have selected the country - " + selectedCountry);
});
Example 2: How do you select a particular option in a SELECT element in jQuery?
$('.selDiv option:eq(1)')