jQuery tablesorter排序不起作用 [英] Jquery tablesorter sorting is not working
问题描述
这是我为Jquery tablesorter编写的编码
Hai this is my coding coding for Jquery tablesorter
<script type="text/javascript">
$(document).ready(function() {
$("#sorttable").tablesorter()
.tablesorterPager({ container: $("#pagerOne"), positionFixed: false })
});
</script>
数据就像
14.6km 21分钟
12.6km 41分钟
9.6km 15分钟
5.6km 5分钟
140.6km 3小时21分钟
像上面那样,如何对以上类型的数据进行排序,请给我任何解决方案
问题在于数据不是仅在跳数据时就进行排序.请帮助解决这个问题
并且这里的1,5,10条记录也没有排序.
the data is like
14.6km 21 mins
12.6km 41 mins
9.6km 15 mins
5.6km 5 mins
140.6km 3 hours 21 mins
like that above, how to sort the above type of data,please give me any solution
problem is data are not sorting just jumping the data. please help this problem
and also here 1,5,10 records are not sorting.
推荐答案
( document ).ready( 函数(){
(document).ready(function() {
(" ).tablesorter() .tablesorterPager({container:
("#sorttable").tablesorter() .tablesorterPager({ container:
(" ),positionFixed: false }) }); </script>
("#pagerOne"), positionFixed: false }) }); </script>
数据就像
14.6km 21分钟
12.6km 41分钟
9.6km 15分钟
5.6km 5分钟
140.6km 3小时21分钟
像上面那样,如何对以上类型的数据进行排序,请给我任何解决方案
问题在于数据不是仅在跳数据时就进行排序.请帮助解决这个问题
还有1,5,10条记录没有排序.
the data is like
14.6km 21 mins
12.6km 41 mins
9.6km 15 mins
5.6km 5 mins
140.6km 3 hours 21 mins
like that above, how to sort the above type of data,please give me any solution
problem is data are not sorting just jumping the data. please help this problem
and also here 1,5,10 records are not sorting.
这篇关于jQuery tablesorter排序不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!