$("img").each(function () {
if ($(this).attr("src").trim() == "") {
$(this).parent().remove();
}
});
转载于:https://www.cnblogs.com/dodui/p/5326766.html
$("img").each(function () {
if ($(this).attr("src").trim() == "") {
$(this).parent().remove();
}
});
转载于:https://www.cnblogs.com/dodui/p/5326766.html