JavaScript阻止冒泡事件

$(".modal .modal-content").click(function (event) {
        event.preventDefault();
        event.stopPropagation();
        return false;
    });
原文地址:https://www.cnblogs.com/hool/p/11909908.html