JQUERY: how do you display text based on option in selected in html code example
Example 1: get text of selected option jquery
$('#id').children(':selected').text();
Example 2: jquery selected option text
$( "#myselect option:selected" ).text();