11 lines
243 B
JavaScript
Executable file
11 lines
243 B
JavaScript
Executable file
$(function() {
|
|
console.log("ready");
|
|
$("#toggleall").click(function() {
|
|
var checked_status = this.checked;
|
|
jQuery("input[type='checkbox']").each(function() {
|
|
this.checked = checked_status;
|
|
});
|
|
});
|
|
|
|
});
|