getElementsByTagName是根据标签名获取元素 function checkAll() { var tempCheck = document.getElementById("idall").checked; var eles = document.getElementsByTagName("input"); for(var i=0;i<eles.length;i++)... Other 2023-10-17 52 点赞 0 评论 78 浏览