Object doesn't support addEventListener IE8 in jquery
javascript, jquery
Solution
jQuery 2.x has dropped support for IE < 9, so if you want to support IE7 & 8 then use latest version of 1.x branch - now 1.11.0
From jQuery
jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8. All the notes in the jQuery 1.9 Upgrade Guide apply here as well. Since IE 6/7/8 are still relatively common, we recommend using the 1.x version unless you are certain no IE 6/7/8 users are visiting the site.
Problem
I am using Jquery 2.0.2 and I have an error in IE8: Object doesn't support property or method 'addEventListener' jquery.min.js, line 4 character 6105 Somehow all my codes are fine with chrome and firefox, except for ie8. Getting these errors also resulted to: The value of the property '$' is null or undefined, not a Function object I included the query on top of other js files I have using: ``` <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> ``` I know Jquery2+ doesnt support IE8, but I dont want to use a lesser version of Jquery.