<form action="test2.asp" method="post"> <input type="checkbox" name="chk1" value="1" /> <input type="checkbox" name="chk2" value="1" onclick="javascript:document.getElementById(‘hid‘).value=this.checked;" /> <input type="hidden" id="hid" name="hid1" value="false"/> <input type="submit" value="提交" /> </form>
时间: 2024-10-17 03:46:06