1
如何使用多個類在一個語句中完成這項工作?爲什麼多個類選擇器不能使用removeClass
<div class="ddd back7">d</div>
<div class="fff back7">f</div>
<div class="ggg back7">g</div>
$('.ddd','.fff','.ggg').removeClass('back7'); //Does not work
$('.ddd').removeClass('back7');//Does
$('.fff').removeClass('back7');//Does
$('.ggg').removeClass('back7');//Does
哦~~那是愚蠢的。謝謝。 – Squirrl 2014-11-03 20:12:54