<script>
alert($("checkBoxId").is(':checked'));
返回值 true 选中 false 未勾选
<html>
<input type="checkbox" id="checkBoxId" name="XXX" value=1>
<script>
alert($("checkBoxId").is(':checked'));
返回值 true 选中 false 未勾选
<html>
<input type="checkbox" id="checkBoxId" name="XXX" value=1>