我有這個選擇框:選擇框造型問題
<select class="slctbx condition-Combiner" onchange="updateConditionBuilder()" style="color: rgb(153, 153, 153);" disabled="disabled">
,我使用:
$('#rule-condition-listing tr:last-child .condition-Combiner').removeAttr("style","#999999").removeAttr("disabled","disabled");
因此它實際上消除禁用屬性,但不是顏色屬性