标签: 兼容性
0
Javascript获取页面事件对象的getEvent函数兼容性写法
实践123456789101112131415161718function getEvent() { if (document.all) { var iEevent = window.event; iEevent.target = window.event.srcElement; return iEevent; }