get text from selected index of dropdown in hquery 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();