js点击遮罩,遮罩和弹出框全部隐藏

$(function()
{
    $(document).on("click", '.popWndCanopyCom',function(event)
    {
        event.stopPropagation();
        $('.popWndCanopyCom').hide();
    });

    $(document).on("click", ".popWindowCom", function(event)
    {
        event.stopPropagation();
        return false;
    });
})

你可能感兴趣的:(js点击遮罩,遮罩和弹出框全部隐藏)