dropdown select jquery code example
Example 1: jquery get selected option value
var selectedOptionText = $('#mySelectID').find(":selected").text();//selected option text
var selectedOptionVal = $('#mySelectID').find(":selected").val();//selected option value
Example 2: jquery dropdown select
$('select>option:eq(3)').prop('selected', true);
Example 3: jquery dropdown select
$("#element-id").val('the value of the option');