jquery 根据文本设置选中某个选项

<select name="streetid" >f</option>

</select>

$("#streetid").find("option:contains('f')").attr("selected", "selected");