21,886
社区成员
发帖
与我相关
我的任务
分享
<form name="form1" id="form1" action="" method="post">
<input type="checkbox" name="chk[]" name="one"/>
</form>
<script type="text/javascript">
chk = document.getElementsByName('chk[]');
alert(chk.length);
</script>