我有桌子,需要排序行。 我的js:
$("#all_invoice_table tbody").sortable({
cancel: ".notsortable",
....
但是现在用鼠标我可以移动整行,这是错误的(我也不能从表中复制任何文本)我在表中有td:
<td><img class="sortInvoiceIcon" src="/images/icons/sort_icon.png"></td>
如何定义仅使用具有.sortInvoiceIcon类的图像进行排序?