function selectAll(){ $("input[type|=checkbox]").attr("checked","checked");}function cancelAll(){ $("input[type|=checkbox]").removeAttr("checked");}