Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
191
rated 0 times [  197] [ 6]  / answers: 1 / hits: 35389  / 11 Years ago, tue, august 20, 2013, 12:00:00

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.


More From » jquery

 Answers
11

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.



[#76265] Sunday, August 18, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pranav

Total Points: 693
Total Questions: 119
Total Answers: 119

Location: Greenland
Member since Fri, Jul 31, 2020
4 Years ago
pranav questions
Thu, Feb 10, 22, 00:00, 2 Years ago
Tue, Dec 28, 21, 00:00, 2 Years ago
Mon, Sep 6, 21, 00:00, 3 Years ago
Mon, Mar 8, 21, 00:00, 3 Years ago
;