方法一: 安装插件 Sort By Date(https://www.magentocommerce.com/magento-connect/sort-by-date.html) 方法二: 非插件 Today I…
July 9, 2019
tablesorter设置默认拍序列, Set Default Sorting For a Column using tablesorter
$(function(){ var columnIndex = $('table').find('th:contains("age")').index() || $('table').find('th:last-child').index(); $('table').tablesorter({ sortList : [[ columnIndex, 1 ]] }); });
本文: tablesorter设置默认拍序列, Set Default Sorting For a Column using tablesorter