jq判断input 复选框有没有选

选中了返回true ,没选中返回false
$("input[type='checkbox']").is(':checked');

 

posted @ 2019-09-03 11:54  钧一  阅读(396)  评论(0编辑  收藏  举报