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(){ | ||
$(" | $("tr:odd").addClass("odd"); | ||
$(" | $("tr:not(.odd)").hide(); | ||
$(" | $("tr:first-child").show(); | ||
$(" | $("tr.odd").click(function(){ | ||
$(this).next("tr").toggle(); | $(this).next("tr").toggle(); | ||
$(this).find(".arrow").toggleClass("up"); | $(this).find(".arrow").toggleClass("up"); |