摘要: 事件兼容 function myfn(e){ var evt = e ? e:window.event; } js停止冒泡 function myfn(e){ window.event? window.event.cancelBubble = true : e.stopPropagation(); 阅读全文
posted @ 2017-06-17 21:41 端了个端 阅读(247) 评论(0) 推荐(1)