js学习笔记11----表单操作 1.复选框选中 var aInput = document.getElementsByTagname('input'); aInput[0].checked=true;