取消冒泡机制的兼容写法
摘要:function stopBubble(e){ if (e.stopPropagation) { e.stopPropagation(); }else { e.cancelBubble = true; } } e.stopPropagation();//w3c标准下e.cancelBubble =
阅读全文
posted @ 2018-07-22 18:30
posted @ 2018-07-22 18:30
posted @ 2018-07-22 16:55
posted @ 2018-07-22 15:48