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