【发布时间】:2010-01-16 23:04:09
【问题描述】:
您好,我正在使用 tablesorter,并希望对其工作方式稍作修改。目前,每当用户单击单元格的任何部分时,tablesorter 都会对列进行排序。
例如。
<th>One</th>
<th>Two</th>
<th>Three</th>
我不是特别喜欢排序器的默认样式,所以我做了一些css按钮并将它们放在每个:
<th><a class="button">One</a></th>
<th><a class="button">Two</a></th>
<th><a class="button">Three</a></th>
我需要在 .js 文件中进行哪些修改,使可点击区域成为锚点而不是整个单元格?
【问题讨论】:
标签: jquery tablesorter