How to check check box checked or not?
This question already has an answer here:
Try with:
if($('#primayins').prop('checked'))
...
Alternatively:
if($('#checkbox').is(':checked'))
...
链接地址: http://www.djcxy.com/p/9534.html
上一篇: 获取复选框选中或不在jQuery中的数组
下一篇: 如何检查复选框是否被选中?