How to make IE 9 Standards Mode the default mode?

Posted by Evik James on Stack Overflow See other posts from Stack Overflow or by Evik James
Published on 2012-11-02T16:58:10Z Indexed on 2012/11/02 17:01 UTC
Read the original article Hit count: 284

I have a web site that works perfectly fine in IE9 when compatibility mode is turned OFF (the compatibility symbol is gray). When compatibility mode is turned on (blue), the jQuery doesn't work at all. I have added the following tag to the site to tell the browser that compatibility mode should NOT be used.

 <meta http-equiv="X-UA-Compatible" content="IE=Edge" >

I have the doctype as this:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Still, the browser doesn't seem to default to standard mode and the user must manually ensure that they are NOT in compatibility mode.

Can I disable IE 9 Compatibility Mode? Have I done what I need to do to disable IE 9 Compatibility Mode? Can the user always override IE 9 Standards Mode?

© Stack Overflow or respective owner

Related posts about internet-explorer-9

Related posts about compatibility