$('input[name="checkboxes"]:checked').each(function(){
var status = $(this).parent().siblings(".status_format").html();
if(status == "未出库") {
checked11 = true;
}
})
这一段jq用普通js怎么写?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
在这里假设
checkbox
父节点的兄弟节点.status_format
有且仅有一个。