jquery hover事件冒泡解决方法

$(this).hover(function(event){
    $(this).addClass("cur");
    event.stopPropagation();
    return false;    
},function(event){
    $(this).removeClass("cur");
    event.stopPropagation();
    return false;    
});

posted @ 2013-11-07 11:33  kwishly  阅读(1732)  评论(0编辑  收藏  举报