$("img").each(function () {
if ($(this).attr("src").trim() == "") {
$(this).parent().remove();
}
});

相关文章: