Wednesday, May 24, 2017

Re: Code not working fine with IE11


On Wednesday, May 24, 2017 at 6:00:20 PM UTC+2, Keshav Agarwal wrote:
I have write code using GWT 2.6.1 and jdk1.5. It's working fine  in Internet Explorer 5, 6 but it's throwing error in IE11 that 'attachEvent' object or method not found. When I search in code, then I found that cache.html files contains attach event. And attach event not supported by IE11. What will be the solution. Please help me. Thanks in advance.

IE11 is supposed to load the same permutation as Firefox, not the one for IE6 (!)
You need to check which "browser mode" and "document mode" are used when loading your page. Ideally, your page uses "standards mode" which should trigger the correct mode. But if it's quirks mode, it might break.
For legacy applications, you may want to use X-UA-Compatible to make IE11 behave as if it were an older version.
But for long-term support, you really need to upgrade your application (use standards mode, use GWT 2.8, which btw requires Java 7, which btw is already EOL'd for 2 years)

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment