Html 根据浏览器使用特定的.js
我只是想知道为什么这不起作用:Html 根据浏览器使用特定的.js,html,internet-explorer,Html,Internet Explorer,我只是想知道为什么这不起作用: 如果您试图使用IE8 <!--[if IE 8]> According to the conditional comment this is IE 8<br /> <![endif]--> 在这里看到更多 谢谢你的回答 最后,我修改了我的js代码,使之适合IE和Firefox。我用过这个: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
如果您试图使用IE8
<!--[if IE 8]>
According to the conditional comment this is IE 8<br />
<![endif]-->
在这里看到更多
谢谢你的回答
最后,我修改了我的js代码,使之适合IE和Firefox。我用过这个:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
我还读到IE=>9不再识别IE的条件。可能重复的