JS-复选框的全选与全不选

function selectAll(){
	var checklist = document.getElementsByName ("selected");
	if(document.getElementById("controlAll").checked){
		for(var i=0;i

全选
1:
2:
3:
4:
5:
6:

你可能感兴趣的:(JS-复选框的全选与全不选)