Extjs reports an error in IE "the object does not support this attribute or method", but it is available normally in Firefox.

Source: Internet
Author: User

Extjs is displayed normally in Firefox, but an error is returned when you open it with IE: the object does not support this attribute or method (Object doesn't support this property or method ).
I found it online. This is an issue in IE where the first element of the body can't be a text node.
The first element in the original body label cannot be text. Otherwise, the IE browser reports an error. That is to say, <body> must be followed by Div, span, table, form, and other block elements or in-row elements, that is, it cannot be any type of text. In fact, when using Ext, it is better not to show the nodes in this article separately. If you are not sure when an error will occur, you 'd better use element packages such as <p>. Source code to be studied for specific reasons.
It turns out that my <body> label is <% = request. getcontextpath () %>, which is a text. No wonder ie reports an error.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.