$(document).ready(function() { // button handler to allow all students $("#allowall").click(function(e) { alert('not implemented'); // FIXME }); // button handler to allow all students $("#denyall").click(function(e) { alert('not implemented'); // FIXME }); // checkbox event handler to allow/deny students function autorizeStudent(e) { $.ajax({ type: "POST", url: "/adminwebservice", data: {"cmd": "allow", "name": this.name, "value": this.checked} }); if (this.checked) $(this).parent().parent().addClass("active"); else $(this).parent().parent().removeClass("active"); } // button handler to reset student password function resetPassword(e) { $.ajax({ type: "POST", url: "/adminwebservice", data: {"cmd": "reset", "name": this.value} }); } function populateOnlineTable(online) { $("#online-header").html(online.length + " Activo(s)"); var rows = ""; $.each(online, function(i, r) { rows += "