具体代码如下所示:
$(body).click(function(e) { var target = $(e.target); // 如果#overlay或者#btn下面还有子元素,可使用 // !target.is(#btn *)