<select size="2">
<option selected="selected">Input your option</option>
<option>Input your option</option>
</select>
使用jQuery优雅地取消 Select 该选项的最佳方式是什么?
<select size="2">
<option selected="selected">Input your option</option>
<option>Input your option</option>
</select>
使用jQuery优雅地取消 Select 该选项的最佳方式是什么?
使用removeAttr...
$("option:selected").removeAttr("selected");
或Prop
$("option:selected").prop("selected", false)