bootstrap iframe 中的 tabcollapse 在 IE11 中不工作

bootstrap tabcollapse in iframe not working in IE11

我需要在 Iframe 中 运行 bootstrap-tabcollapse(交换选项卡以在响应模式下折叠)。

它在 Firefox、Safari 和 IE10 及更早版本中运行良好 - 似乎在 IE11(Win 7 和 8.1)中有问题。

在 IE11 中,标签不会激活任何东西 - 在没有 iframe 的情况下查看时工作正常。

此处演示:

在 iframe 中:http://112.140.180.117/~adnovatest/test/

没有 iframe:http://112.140.180.117/~adnovatest/test/example.html

IE11 和触发标签有问题吗?还是我在这里忽略了一些简单的事情?

已修复。如果其他人正在寻找需要强制 IE 模拟 IE10 的答案,那么使用:

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

必须放在 header 中 - 唯一可以放在它前面的是标题标签。