<input type="checkbox" value="1" id="checkbox1"/>
<script>
if($('#checkbox1').is(':checked')){
//选中
}else{
//未选中
}
</script>
转载于:https://blog.51cto.com/hfreeze/1784801
<input type="checkbox" value="1" id="checkbox1"/>
<script>
if($('#checkbox1').is(':checked')){
//选中
}else{
//未选中
}
</script>
转载于:https://blog.51cto.com/hfreeze/1784801