jQuery not working with IE 11

前端 未结 6 860
离开以前
离开以前 2020-12-08 18:44

Object doesn\'t support property or method \'addEventListener\'

\'jQuery\' is undefined 

I\'m using IE 11,

/jquer

6条回答
  •  余生分开走
    2020-12-08 19:21

    For me the issue turned out to be I was using es6's right arrow functions => as opposed to function ().

    Replacing => with function () resolved for me.

    I had assumed it was a jQuery issue.

提交回复
热议问题