I have a select control, and in a javascript variable I have a text string.
Using jQuery I want to set the selected element of the select control to be the item with
$("#myselect option:contains('YourTextHere')").val();
will return the value of the first option containing your text description. Tested this and works.