change code

Recommend this page to a friend!

      JS Sortable Table  >  All threads  >  change code  >  (Un) Subscribe thread alerts  
Subject:change code
Summary:example2 to work
Messages:1
Author:Superluk
Date:2020-08-11 21:27:09
 

  1. change code   Reply   Report abuse  
Picture of Superluk Superluk - 2020-08-11 21:27:09
maybe it would be a good idea to change code in example2:

change it to:
<button onclick="sTable.sort($('#sortableTable1'),4, 'up')">Sort by the Email column</button>


instead of:
<button onclick="sTable.sort($('.noSort'), 'up')">Sort by the '.noSort' column</button>