我找到了一个我正在尝试使用的表格分类器示例。
当页面加载时,表格不会在第一次尝试时排序或转到下一页。 但是如果我改变限制并尝试排序/转到下一页就可以了。 它也不会抛出任何错误。
答案 0 :(得分:3)
嘿,大家在这里看到工作演示:http://jsfiddle.net/ZK6dZ/
您的LIMIT
值为空。 :http://mottie.github.com/tablesorter/docs/example-pager.html
休息演示应符合原因:)
<强>码强>
$(function() {
$("table").tablesorter({
theme: 'blue',
widthFixed: true,
widgets: ['zebra']
}).tablesorterPager({container: $("#pager")});
});