Javascript Grails应用程序并非仅在IE9中加载:我必须检查什么?

Javascript Grails应用程序并非仅在IE9中加载:我必须检查什么?,javascript,html,grails,internet-explorer-9,Javascript,Html,Grails,Internet Explorer 9,我正在开发一个使用JS代码的Grails项目。它在googlechrome(v34.0.1847.116m)和mozillafirefox(v28.0)中运行得非常好,但它根本不在IE(v9.0.23)中运行/启动。我只有一个空白屏幕 根据之前关于SO社区的许多回答,我应该检查我正在使用的一些元标记,但它并没有成功运行。这是我的密码 page.gsp,用作主布局: <!DOCTYPE html> <!--[if lt IE 7 ]> <html lang="en"

我正在开发一个使用JS代码的Grails项目。它在
googlechrome(v34.0.1847.116m)
mozillafirefox(v28.0)中运行得非常好,
但它根本不在
IE(v9.0.23)中运行/启动。
我只有一个空白屏幕

根据之前关于SO社区的许多回答,我应该检查我正在使用的一些元标记,但它并没有成功运行。这是我的密码

page.gsp,用作主布局:

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="win firefox firefox2 gecko gecko2" lang="br">
<!--[endif]-->

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="-1">
    <title><g:layoutTitle default="A nice Title"/></title>
    <r:require modules='core'/>
    <g:layoutHead />
    <r:layoutResources />    
</head>

<body>
    <div id="container">
        <div id="header">bla bla bla<g:navbar /></div>
        <g:menu menuKey="1"/> <!-- a taglib which builds a dynamic menu -->

        <div id="content">
            <g:layoutBody />
        </div>
    </div>

    <div id="footer"><div class="container">bla bla bla</div></div>
    <r:layoutResources/>
</body>
</html>

呜呜呜呜
呜呜呜呜
home.gsp,在上面的布局中加载的简单视图

<html>
<head>
    <meta name="layout" content="page" />
</head>
<body>
    <h2>A simple content here</h2>              
</body>
</html>

这里有一个简单的内容
我正在使用
ApplicationResources.groovy
加载我所有的JS和CSS资源,但根据我的Firebug,我没有任何JS错误。毕竟,我还能检查什么,或者我必须衡量哪些特性/功能的成功?

改变

<!--[if (gt IE 9)|!(IE)]><!-->
<html class="win firefox firefox2 gecko gecko2" lang="br">
<!--[endif]-->

(正确关闭else注释)



愿上帝保佑你的下一代99岁。我怀疑你有点疯了。@VictorFS的评论似乎发自内心。:)我今天也有同样的问题。。。有些事情永远不会改变!
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="win firefox firefox2 gecko gecko2" lang="br">
<![endif]-->