冒泡事件

function stopMP(e) {
    if (!e) {
        e = window.event;
    }

    e.cancelBubble = true;

    if (e.stopPropagation) {
        e.stopPropagation();
    }
}

 

posted @ 2015-07-01 18:35  sunhaikuo  阅读(118)  评论(0编辑  收藏  举报