<script>
$(document).ready(function(){
render_table(){};
$("#myTable").tablesorter({
"theme": "blue",
"headers": {
0:{"sorter": false, "filter": false},
"sortList": [[1,0]],
widgets: [ "zebra", "resizable", 'filter'],
});
});
</script><html> <table id="myTable" class="tablesorter table"> <thead> <tr> <th>ID</th> <th>Domain</th> </tr> </thead> <tbody> <tr style="display: none"><td>..<td><td>...</td></tr> </tbody> </table> </html>
版权声明:本文为博主原创文章,未经博主允许不得转载。
tablesorter对于动态生成的table无法使用解决办法
原文:http://blog.csdn.net/iluckyning/article/details/47282773