这里以默认选中性别为例: HTML文件: select name="sex" id="sex" option value="1"男/option option value="2"女/option/select jQuery方法 $(function(){ $("#sex").find("option[value = '"+值+"']").attr("selected","selected");})$("#sex").find("option:contains('男')").attr("s
h2Cars Select/h2div class="select"select name="cars"option value="volvo"Volvo/optionoption value="saab"Saab/optionoption value="opel" selectedOpel/optionoption value="audi"Audi/option/select/divstylebody {font-size: 20px;color: #090;background-color: #eee