onclick绑定子元素

var tag = $(".tuangou-edit");
tag.on("click","img",function(){
  $(this).closest("div.deal-content-tag").remove();
});

posted @ 2014-08-27 15:01  way~  阅读(289)  评论(0编辑  收藏  举报