Difference between revisions of "User:Oliver/common.js"

From From The Ashes Wiki
Jump to: navigation, search
(Created page with "$(document).ready(function() { // call the tablesorter plugin $("#presort").tablesorter({ // sort on the first column and third column, order asc s...")
 
 
Line 1: Line 1:
 
$(document).ready(function() {  
 
$(document).ready(function() {  
    // call the tablesorter plugin
+
     $(".loglist").tablesorter({  
     $("#presort").tablesorter({  
 
        // sort on the first column and third column, order asc
 
 
         sortList: [[0,0],[1,0]]  
 
         sortList: [[0,0],[1,0]]  
 
     });  
 
     });  
 
});
 
});

Latest revision as of 01:57, 7 December 2017

$(document).ready(function() { 
    $(".loglist").tablesorter({ 
        sortList: [[0,0],[1,0]] 
    }); 
});