jQuery取某个div下所有被选中的checkbox_weixin_36975992的博客-CSDN博客
var categoryCheckedInfo = $("#selectCaregory input:checked:checked"); if (categoryCheckedInfo.length < 1) { myLayer.close(msgDialogIndex) layer.alert("文章分类必须选择一个!", { icon: 5 }); return; } let articleCategoryIds=[] $.each(categoryCheckedInfo, function () { articleCategoryIds.push($(this).val()); })
标签:jQuery,categoryCheckedInfo,checkbox,checked,选中,div From: https://www.cnblogs.com/LuoCore/p/17219196.html