justcode.ikeepstudying.com
tablesorter设置默认拍序列, Set Default Sorting For a Column using tablesorter - Just Code
$(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 相关 Related Posts Magento: 设置产品列表默认排序方式 How to sort Magento products by date added as default方法一: 安装插件 Sort By Date(https://www.magentocommerce.com/magento-connect/sort-by-date.html) 方法二: 非插件 Today I had to change Magento …