标签:index pre each parent checkbox code layui window bsp
如在弹框中获取父级勾选的id
var checkedArr = []; parent.window.$(‘input.checkboxItem[type="checkbox"]:checked‘).each(function (index, elem) { checkedArr.push($(elem).val()); });
console.log(checkedArr);
标签:index pre each parent checkbox code layui window bsp
原文地址:https://www.cnblogs.com/nonsec/p/13030355.html