how to know which value is selected in dropdown in jquery code example
Example 1: get text selected option jquery
$('#id option:selected').text()
Example 2: get selected option text jquery
$("#id option:selected").text();
$('#id option:selected').text()
$("#id option:selected").text();