jquery 图片没有路径,不显示图片。
$("img").each(function () {
if ($(this).attr("src").trim() == "") {
$(this).parent().remove();
}
});
$("img").each(function () {
if ($(this).attr("src").trim() == "") {
$(this).parent().remove();
}
});