IE9以下报错:对象不支持“stopPropagation”属性或方法
if (event.stopPropagation) { // 针对 Mozilla 和 Opera event.stopPropagation(); } else if (window.event) { // 针对 IE window.event.cancelBubble = true; }
IE9以下报错:对象不支持“stopPropagation”属性或方法
if (event.stopPropagation) { // 针对 Mozilla 和 Opera event.stopPropagation(); } else if (window.event) { // 针对 IE window.event.cancelBubble = true; }