标签:style class blog code java http
正反选
<script type="text/javascript"> function checkAll() { var inputs = document.forms[0].elements; for (var i = 0; i < inputs.length; i++) { if (inputs[i].type == ‘checkbox‘) { if (inputs[i].disabled != true) { if (inputs[i].checked == true) { inputs[i].checked = false; } else { inputs[i].checked = true; } } else { inputs[i].checked = false; } } } } </script>
JS实现正反选功能代码(C#),布布扣,bubuko.com
标签:style class blog code java http
原文地址:http://www.cnblogs.com/xgzhen105/p/3779220.html