Created
September 24, 2012 10:22
-
-
Save cgiffard/3775343 to your computer and use it in GitHub Desktop.
Don't have a copy of IE8 available to me right now. Can anybody tell me whether this will work?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(window.attachEvent||window.addEventListener)("load",function() { | |
// Event listener code in here | |
alert("will this fire in IE8?"); | |
},false); |
This is the file I used to test: https://dl.dropbox.com/u/106619613/gist_3775343.html
Hrm - for some reason I didn't get notified that you'd commented on my gist. Thanks for your help anyway!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chrome 21.0.1180.89 - works
Opera 12.00.1467 - works
IE 9.0.8112.16421 - doesn't work
IE 8.0.6001.18702 - doesn't work
FireFox 13.0 - works
FireFox 3.6.28 - works
Safari 5.1.7 - works
All on Windows 7 except IE 8 which is on Windows XP