javascript - Object doesn't support addEventListener IE8 in jquery -
i using jquery 2.0.2 , have error in ie8:
object doesn't support property or method 'addeventlistener' jquery.min.js, line 4 character 6105
somehow codes fine chrome , firefox, except ie8.
getting these errors resulted to:
the value of property '$' null or undefined, not function object
i included query on top of other js files have using:
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
i know jquery2+ doesnt support ie8, dont want use lesser version of jquery.
jquery 2.x has dropped support ie < 9, if want support ie7 & 8 use latest version of 1.x branch - 1.11.0
from jquery
jquery 2.x has same api jquery 1.x, not support internet explorer 6, 7, or 8. notes in jquery 1.9 upgrade guide apply here well. since ie 6/7/8 still relatively common, recommend using 1.x version unless no ie 6/7/8 users visiting site.
Comments
Post a Comment