Adding <meta http-equiv=“X-UA-Compatible” content=“IE=9” /> using javascript

前端 未结 5 1513
悲&欢浪女
悲&欢浪女 2020-12-18 11:48

I have a strange problem with IE 10. Many jQuery scripts that are working fine on IE 8, 9, Chrome, firefox and safari but broken on IE 10. Issue came into light only when s

5条回答
  •  长情又很酷
    2020-12-18 11:51

    JavaScript is run after the page load, this means you will not be able to modify the meta response from the server to the client afterwards. It might be easier to address the issues with IE 10 instead if there are no common headers

提交回复
热议问题