【发布时间】:2011-06-27 07:53:30
【问题描述】:
例如:
<li class="dataItem ready igto" status="ready">I will change status to waiting</li>
然后,我只想将ready class更改为waiting。正常的方法是删除 class ready 并添加新课程!
另一种情况是如何一次替换多类!?例如:
<!-- replace done wainting error to ready -->
<li class="dataItem done igto" status="ready">I will change status to ready</li>
<li class="dataItem waiting igto" status="ready">I will change status to ready</li>
<li class="dataItem error igto" status="ready">I will change status to ready</li>
到:
<li class="dataItem ready igto" status="ready">I will change status to waiting</li>
非常感谢!!
【问题讨论】: