这个bug只有懂的人懂,三步搞定所有问题。为了大家能复制,上代码:
function stopHandler(event) { window.event ? window.event.cancelBubble = true : event.stopPropagation(); }