rhodes jqtouch jquery层次结构\u请求\u错误:DOM异常3

rhodes jqtouch jquery层次结构\u请求\u错误:DOM异常3,jquery,jqtouch,rhodes,Jquery,Jqtouch,Rhodes,我的rhodes应用程序出现错误 I/APP(379):I 08/19/2011 14:59:45:680 AFD4440 ChromeClientNew | ierarch_请求| ERR:DOM异常3:节点插入到了它不属于的位置。-从第12行开始 E/Web控制台(379):层次结构\u请求\u错误:DOM异常3:将节点插入到它不属于的位置。在 我没有什么不对劲 因为它产生了什么 当我试图从其他地方调用控制器代码、视图时,它们运行良好 所有其他视图都运行良好 我的layout.erb文件是

我的rhodes应用程序出现错误

I/APP(379):I 08/19/2011 14:59:45:680 AFD4440 ChromeClientNew | ierarch_请求| ERR:DOM异常3:节点插入到了它不属于的位置。-从第12行开始

E/Web控制台(379):层次结构\u请求\u错误:DOM异常3:将节点插入到它不属于的位置。在

我没有什么不对劲

因为它产生了什么

当我试图从其他地方调用控制器代码、视图时,它们运行良好

所有其他视图都运行良好

我的layout.erb文件是

<% is_bb6 = System::get_property('platform') == 'Blackberry' && (System::get_property('os_version') =~ /^6\.0/) %>

<% if is_bb6 %>  
  <meta name="viewport" content="width=device-width; height=device-height; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<% else %>
  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>      
<% end %>

<% if System::get_property('platform') == 'APPLE' || System::get_property('platform') == 'ANDROID' || is_bb6 %>
  <script src="/public/jqtouch/jquery.1.3.2.min.js" type="text/javascript"></script>
  <script src="/public/js/rhogeolocation.js" type="text/javascript"></script>
  <script src="/public/jqtouch/jqtouch.js" type="text/javascript"></script>
  <link href="/public/jqtouch/jqtouch.css" type="text/css" rel="stylesheet"/>
  <% if System::get_property('platform') == 'APPLE' %>
    <link href="/public/jqtouch/jqtouch-iphone.css" type="text/css" rel="stylesheet"/>
  <% end %>
  <script type="text/javascript" charset="utf-8"> $.jQTouch(); </script>
<% end %>


<% if System::get_property('platform') == 'APPLE' || System::get_property('platform') == 'ANDROID' %>
  <link href="/public/css/global.css" rel="stylesheet" type="text/css" />
  <link rel="stylesheet" href="/public/css/retina.css" media="all and (-webkit-min-device-pixel-ratio:2)">
  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
<% elsif is_bb6 %>
  <link href="/public/css/android.css" type="text/css" rel="stylesheet"/>
<% elsif System::get_property('platform') == 'Blackberry' %>
  <link href="/public/css/blackberry.css" type="text/css" rel="stylesheet"/>
<% else %>
  <link href="/public/css/windows_mobile.css" type="text/css" rel="stylesheet"/>
<% end %>

$.jQTouch();


你有没有想过这一点?当我尝试在页面加载后插入新的CSS规则时,我的chrome扩展也遇到了同样的问题。有趣的是,您是从127.0.0.1运行的,而我是从localhost运行的。当我在本地主机之外运行时,这种情况不会发生。