onclick绑定子元素
var tag = $(".tuangou-edit");
tag.on("click","img",function(){
$(this).closest("div.deal-content-tag").remove();
});
再爱,代码也不能是生活的全部。每天看书-每天运动-每天关注健康-每天了解时尚-每天进步一点点。
var tag = $(".tuangou-edit");
tag.on("click","img",function(){
$(this).closest("div.deal-content-tag").remove();
});