jquery this.text select code example
Example 1: get text selected option jquery
$('#id option:selected').text()
Example 2: jquery select option by text
$("#myDropdown option:contains(Option 2)").attr('selected', 'selected');
$('#id option:selected').text()
$("#myDropdown option:contains(Option 2)").attr('selected', 'selected');