<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>html+css+js实现复选框全选与反选</title> <meta http-equiv="content-type" conten…
JS <script> window.onload=function(){ var oTher=document.getElementById('other'); var oCheck=document.getElementById('all'); var oNo=document.getElementById('uncheck'); var oDiv=document.getElementById('box'); var aCheck=oDiv.getElementsByTagName('i…