jquery selected element code example
Example 1: jquery selected option
$( "#myselect option:selected" ).val();
Example 2: jquery option selected
$('.selDiv option:eq(1)').prop('selected', true)
$( "#myselect option:selected" ).val();
$('.selDiv option:eq(1)').prop('selected', true)