div.onclick = function(ev){
if(ev.target!=this) return;
else {
...
}
}
转载于:https://www.cnblogs.com/ghfjj/p/6855813.html
div.onclick = function(ev){
if(ev.target!=this) return;
else {
...
}
}
转载于:https://www.cnblogs.com/ghfjj/p/6855813.html