Registration Page: viewStudentStats(id, toggle) method parameters: id - The css id of the html tag being updated. toggle - 0 - hide the html tag 1 - make the html tag visible code example
Example: javascript hide a div
Hide/show this div
('#main').hide(); //to hide
// 2nd way, by injecting css using jquery
$("#main").css("display", "none");