<!DOCTYPE html>
<html>
<head>
<script>
function check(){
listForm.sel.checked=true;
}</script></head><body><form name="listForm">
<input type="checkbox" name="sel"/></form><input type="button" value="button" onclick="check();"/>
</body>
</html>按下button键会使得form表单里的名为sel的checkbox被选中.
Copyright © 2019- qejl.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务