$(document).click(function(){
$("#ztreeDiv").hide();
});
$("#ztreeDiv").click(function(event){
event.stopPropagation();
});
除了点击某个元素外,其他都执行某事件
最新推荐文章于 2021-02-24 11:27:00 发布
$(document).click(function(){
$("#ztreeDiv").hide();
});
$("#ztreeDiv").click(function(event){
event.stopPropagation();
});