阻止冒泡事件

$(function() {
$('.hb_table').live('click', function(e) {
e.stopPropagation();
$(this).children('p').hide();
$(this).children('.aa').show();
$(document).on('click', function() {
e.stopPropagation();
$('.aa').hide();
$('.hb_table p').show();
});
});
});

posted @ 2015-08-11 17:08  简单就好zyx  阅读(84)  评论(0编辑  收藏  举报