我有下表:
<table class="AMDetailTableCss" id="tblQueueHistory" cellspacing="5" cellpadding="5" >
<tr>
<td id="Working">
<div class="AMQueueName AMWorkingAgent"><div>
<span class="AMQueueText">Working</span>
</div></div>
</td>
<td id="OnBreak">
<div class="AMQueueName AMOnBreakAgent"><div>
<span class="AMQueueText">On Break</span>
</div></div>
</td>
<td id="Idle">
<div class="AMQueueName AMIdleAgent"><div>
<span class="AMQueueText">Idle</span>
</div></div>
</td>
</tr>
</table>
我想td
在运行时使用 javascript/Jquery 更改索引。我的意思是第二个td
应该被移动到第一个。
我怎样才能做到这一点?谢谢