function selectAll() { $(“input[type=’checkbox’]:not([disabled=’disabled’])”).attr(‘checked’, true); }