Widget:WJG UserExamQuery: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 105: Line 105:


$(document).ready(function(){
$(document).ready(function(){
             $("#report tr:odd").addClass("odd");
             $("tr:odd").addClass("odd");
             $("#report tr:not(.odd)").hide();
             $("tr:not(.odd)").hide();
             $("#report tr:first-child").show();
             $("tr:first-child").show();
              
              
             $("#report tr.odd").click(function(){
             $("tr.odd").click(function(){
                 $(this).next("tr").toggle();
                 $(this).next("tr").toggle();
                 $(this).find(".arrow").toggleClass("up");
                 $(this).find(".arrow").toggleClass("up");

Revision as of 05:47, 24 July 2014