Question: how to set selected value of dropdown in jquery using text?
Answer: $( "#selectOption" ). click(function() {
$("#myDropdown option:contains(Option 2)"). attr('selected', 'selected');
});