這個bug只有懂的人懂,三步搞定所有問題。爲了大家能複製,上代碼:
function stopHandler(event) { window.event ? window.event.cancelBubble = true : event.stopPropagation(); }