日期:2014-05-16 浏览次数:20362 次
$(document).ready(function(){
$("#select1 option[text='Today']").attr("selected","selected");
});
<option value="Today">Today</option>
$("#select1 option").each(function(){
if($(this).text()=="Today"){
$(this).attr("selected","true");
}
});