We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
由于IE8及以下并不支持标准ECMAScript所以其有诸多跟其他浏览器不一致的地方,主要的注意点见要点
document.onclick = function(e) { console.log(window.event);// IE绑定在window上 console.log(e);// 标准模式 }
document.onclick = function(e) { console.log(window.event.x);// IE绑定在window上 console.log(e.pageX);// 标准模式 }
var xhr = new ActiveXObject(); //标准 var xhr = new XMLHttpRequest();
alert(window.attachEvent);// IE专属 alert(window.addEventListener);// 标准,IE8以上支持
The text was updated successfully, but these errors were encountered:
No branches or pull requests
IE脚本兼容
The text was updated successfully, but these errors were encountered: