在iis 7上部署后,jquery无法在Internet Explorer上工作

问题描述 投票:-1回答:1

我已经在iis7中部署了我的网站,但是当我使用Internet Explorer从客户端访问时,bootstrap和jquery无法正常工作,但是当我从服务器访问localhost时它运行得很好,并且在脚本中从jquery访问错误控制台,在这里我把一些图像显示双方inside Server side in client-side之间的差异

这里的错误是从jquery console error处理的

我正在使用ASP.NET MVC 5,Jquery 3.3.7和bootstrap 4.2请帮忙,我的表格更多信息问候

编辑:我很抱歉这种语言;

第一个错误:预期的标识符

Seconde错误:无法从引用null或undefined获取“fn”属性

并且:

Internet Explorer版本11.523

jquery asp.net-mvc internet-explorer bootstrap-4 iis-7
1个回答
0
投票

问题解决:我刚刚添加了我的html头x-ua兼容的META标签;

<meta http-equiv="x-ua-compatible" content="IE=11">

一切都很好;

此问题的根源是与Internet Explorer 11的兼容性;

参考:

https://devhammer.net/2014/05/27/asp-net-mvc-bootstrap-and-internet-explorer-compatibility-view/

© www.soinside.com 2019 - 2024. All rights reserved.