mailr/app/assets/javascripts/mailr.js

11 lines
243 B
JavaScript
Raw Normal View History

2012-03-24 13:23:34 +01:00
$(function() {
console.log("ready");
$("#toggleall").click(function() {
var checked_status = this.checked;
jQuery("input[type='checkbox']").each(function() {
this.checked = checked_status;
});
});
});