jquery set select option value and text code example
Example: jquery select option by text
$("#myDropdown option:contains(Option 2)").attr('selected', 'selected');
$("#myDropdown option:contains(Option 2)").attr('selected', 'selected');