通过匹配绑定select option的文本值 模糊匹配 //通过匹配绑定select option的文本值 模糊匹配 $(".class option:contains('文本值')").attr("selected", true);