Solved

IE Document mode

Posted on 2013-12-16
3
595 Views
Last Modified: 2013-12-17
Hi Experts,
I'm having a weird issue with our webapp.  In IE, when I go to F12 view for emulation - as I switch pages in our webapp, I can see the document mode changing its default value for that page.  One particular page is changing on my browser to IE7 (where JSON is not even defined), so the page is broken for me.  But my colleagues IE version does not do this on the same page... How can I find what is in the same page but causing my IE to change document mode?

Thanks!
Mike
0
Comment
Question by:thready
3 Comments
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 250 total points
ID: 39723528
1) make sure you have the correct doctype
2) go to tools, compatibility view settings and make sure the URL is not in the list
0
 
LVL 16

Accepted Solution

by:
hankknight earned 250 total points
ID: 39723799
Internet Explorer has an undesirable "feature" called "Compatibility Mode" which can cause newer versions of Internet Explorer to act like older versions of Internet Explorer.

Read this:
http://blogs.msdn.com/b/askie/archive/2009/03/23/understanding-compatibility-modes-in-internet-explorer-8.aspx

This might help:

### 1 ###
Send X-UA-Compatible: IE=edge as an HTTP header.   If you are using PHP you  can try this:
<?php header('X-UA-Compatible: IE=edge'); ?>

Open in new window

 ### 2 ###
Add this code immediately after your <head> tag:
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> 

Open in new window

0
 
LVL 1

Author Closing Comment

by:thready
ID: 39724301
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now