Encountering 403 error while using ajax call on IE

前端 未结 1 1390
孤独总比滥情好
孤独总比滥情好 2021-01-14 01:42

I\'ve my website loading pages using ajax. The pages are loaded properly in all the browsers except IE which throws an error 403 on the ajax request. However, it works fine

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-14 02:29

    Put this into your HTML header:

    
    

    Without the line, IE < 9 compatibility mode will be running on Linux Apache server and many functions will not work correctly in IE (even if they work with application on Windows localhost, or in different browser.

    0 讨论(0)
提交回复
热议问题