jQuery not working with IE 11

前端 未结 6 843
离开以前
离开以前 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:26

    Adding the "x_ua_compatible" tag to the page didn't work for me. Instead I added it as an HTTP Respone Header via IIS and that worked fine.

    In IIS Manager select the site then open HTTP Response Headers and click Add:

    The site didn't need restarting, but I did need to Ctrl+F5 to force the page to reload.

提交回复
热议问题