3

Is there a difference between the two? I have a web page which IE has a had time processing the Javascript. When I enable Compat mode manually within the toolbar everything works fine.

I did some research on how to force compat mode within the code. What I found was to include a meta tag which tells IE to emulate a specified browser version, like such: <meta http-equiv="X-UA-Compatible" content="IE=9"> or <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" >

I've tried both, inserting them immediately after the opening head tag, but no success. IE still chokes on the javascript.

Much thanks for any help.

4

1 回答 1

1

尝试使用 这里有更多选项。 这里解释了强制兼容模式的另一种方法是省略 DOCTYPE 声明!

于 2013-01-08T23:54:29.943 回答