jq实现 元素显示后 点击页面的任何位置除元素本身外 隐藏元素
$(".zzjgLd422 a").click(function (e)){ /*一系列操作*/ e.stopPropagation(); $("#grxxhtml").("click",function(e){ e.stopPropagation(); }); $("body").one("click",function(e){ $("#grxxhtml").hide(); }); }
$(".zzjgLd422 a").click(function (e)){ /*一系列操作*/ e.stopPropagation(); $("#grxxhtml").("click",function(e){ e.stopPropagation(); }); $("body").one("click",function(e){ $("#grxxhtml").hide(); }); }