日期:2014-05-18 浏览次数:20852 次
function funSelectAll(obj) { var aReturn = document.getElementsByTagName("input") for (i=0;i<aReturn.length;i++) { if(aReturn[i].type == "checkbox" && aReturn[i].disabled==false) { aReturn[i].checked = obj.checked ; } } }