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