get selected value of select dropdown in jquery code example
Example 1: jquery get selected option value
var selectedOptionText = $('#mySelectID').find(":selected").text();
var selectedOptionVal = $('#mySelectID').find(":selected").val();
Example 2: jquery get selected option value
var selectedOptionText = $('#mySelectID').find(":selected").text();
var selectedOptionVal = $('#mySelectID').find(":selected").val();
Example 3: how to show selected value in select box using jquery
$('selector').val(value);