简体   繁体   English

jQuery弹出窗口在IE11企业模式下不起作用

[英]jQuery popup won't work in IE11 Enterprise mode

I have a classic asp application which runs on the IE 11 Enterprise mode, where I added the jQuery popup with some search function on it. 我有一个运行在IE 11企业模式下的经典asp应用程序,在其中添加了带有某些搜索功能的jQuery弹出窗口。 This functionality works properly with Normal mode but not with Enterprise mode(search functionality and CSS for popup to look decent). 此功能在“普通”模式下可以正常使用,但在“企业”模式下不能正常使用(搜索功能和CSS使弹出窗口看起来不错)。 Anybody knows the reason? 有人知道原因吗?

I have added the below libraries. 我添加了以下库。

<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script type="text/javascript" src="../javascripts/lib/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="../javascripts/lib/chosen_v1.1.0/chosen.jquery.min.js" type="text/javascript"></script>

And there are tow other JavaScript file which is related to the popup functionality. 并且还有其他与弹出功能有关的JavaScript文件。

The page is a part of the iframe and iframe contain the above changes. 该页面是iframe的一部分,而iframe包含上述更改。

I would appreciate your help. 多谢您的协助。 Thanks in advance. 提前致谢。

I found the answer and below are the changes. 我找到了答案,下面是更改。

<!doctype html>

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM