标签:javascrip java rip for length ntb element one highlight
//一键勾选全部的checkbox function checkAll(){ var obj = document.getElementById("all"); var arr = document.getElementsByName("one"); for(var i = 0; i < arr.length; i++){ arr[i].checked = obj.checked; } }
标签:javascrip java rip for length ntb element one highlight
原文地址:https://www.cnblogs.com/demon09/p/9089945.html