0

I am using jquery(V2.1.3) in my project. sometimes my page is getting broken and throws me an error in jquery framework file in IE(9 and above) browser alone.

The error is from the below line,

Object doesn't support property or method 'addEventListener'

n.ready.promise = function(b) {
    return H || (H = n.Deferred(), "complete" === l.readyState ? setTimeout(n.ready) : (l.addEventListener("DOMContentLoaded", I, !1), 
    a.addEventListener("load", I, !1))), H.promise(b);
},

Please provide me a solution to overcome this issue

user1153484
  • 197
  • 3
  • 13
  • Possible duplicate of [addEventListener in Internet Explorer](http://stackoverflow.com/questions/6927637/addeventlistener-in-internet-explorer) –  Oct 05 '15 at 07:57
  • Which line in your code throws this error? – A. Wolff Oct 05 '15 at 08:09
  • it throws me error exactly at the 2nd line of the code above. Also, i have used meta tag for IE rendering , is this causing issue? – user1153484 Oct 05 '15 at 08:15

0 Answers0