Widget:WJG UserExamQuery: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 81: | Line 81: | ||
}); | }); | ||
} | } | ||
$(document).ready(function(){ | |||
$("#report tr:odd").addClass("odd"); | |||
$("#report tr:not(.odd)").hide(); | |||
$("#report tr:first-child").show(); | |||
$("#report tr.odd").click(function(){ | |||
$(this).next("tr").toggle(); | |||
$(this).find(".arrow").toggleClass("up"); | |||
}); | |||
$("#report").jExpand(); | |||
}); | |||
$(document).ready(ensureLoggedIn); | $(document).ready(ensureLoggedIn); | ||