当前位置: 代码迷 >> JavaScript >> extjs在IE报对象不支持此属性或步骤
  详细解决方案

extjs在IE报对象不支持此属性或步骤

热度:156   发布时间:2012-10-27 10:42:26.0
extjs在IE报对象不支持此属性或方法

ExtJS在Firefox里面显示正常,但是用IE打开的时候报错:对象不支持此属性或方法 / object doesn't support this property or method

在网上找了一下,This is an issue in IE where the first element of the body can’t be a text ode.

body标签内的第一个元素不能为文本text,否则IE浏览器会报错

也就是说<body>后面必须是div、span、talbe、form 这样的元素,不能是任何类型的文本

按上面改过之后IE确实显示正常了.....

看来是ExtJS的一个小缺陷了。

  相关解决方案