前台 <!DOCTYPE html> <html> <head> <title>批量删除</title> </head> <body> [removed] //复选框 function checkall(all) { var ck = document.getElementsByClassName("ck"); if(all.checked) { for(var i=0;i<ck.length;i++) { ck[i].setAttribute("checked","ch