If I had the following select, and did not know the value to use to select an item in advance like in this question or the index of the item I wanted selected, how could I s
$("#list option").each(function() { this.selected = $(this).text() == "Option C"; });