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