除了點擊某個元素外,其餘都執行某事件

$(document).click(function(){ $("#ztreeDiv").hide(); }); $("#ztreeDiv").click(function(event){ event.stopPropagation(); });
相關文章
相關標籤/搜索