get the text of a dropdown in jquery code example
Example 1: get text selected option jquery
$('#id option:selected').text()
Example 2: get text in select jquery
$("#id option:selected").text();
$('#id option:selected').text()
$("#id option:selected").text();