get select element jquery code example
Example 1: jquery selected option
$( "#myselect option:selected" ).val();
Example 2: jquery: get selected option of the drop down list
$('#ddlID').val();
$('#ddlID').text();
$( "#myselect option:selected" ).val();
$('#ddlID').val();
$('#ddlID').text();