Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8942505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:31:59+00:00 2026-06-15T11:31:59+00:00

How can I turn on IE 10 Compatibility View programmatically in Javascript or HTML?

  • 0

How can I turn on IE 10 Compatibility View programmatically in Javascript or HTML?

I just added the following meta tag within the <head> tag, but it is not working.

<meta http-equiv="x-ua-compatible" content="IE=EmulateIE7" >

Is there any way to do the same thing in JS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:32:00+00:00Added an answer on June 15, 2026 at 11:32 am

    I checked the compatibility mode article on msdn – here.

    Your meta tag is still the method for enabling compatibility mode in IE 10 and IE 9.

    As long as you have:

    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
        <!-- Other meta tags etc. -->
    <head>
    

    Then it should work. You could try making the http-equiv value case sensitive (at the moment you’ve set it to lowercase).

    Also, to answer your question about JS, you can detect whether the browser is in compatibility mode by comparing the browser engine with the browser version for IE. However, this involves browser version detection, which tends to be a bit unreliable. Also, there isn’t a way for you to set the user’s compatibility mode in JS. So, for the moment at least, you’ll have to stick with the meta tags.

    I hope this helps.


    A good plugin to allow you to view http header information is IEhttpheaders. Just download it from that link & install. Then, when you start IE, go to the tools menu and select ‘DisplayIEhttpHeaders…’. When you visit your site it will list the header response. If you modify your answer to include the response, then we can see if it’s the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I know I can turn warnings into errors using -Werror=... but I want
How can I turn off JavaScript shortening in A4J? I remember there was an
I wonder if I can turn the following chart into switch-case statement in android.
I just came upon this article here which can turn your day to day
Is there any open source library that can turn malform HTML into well formatted
That's basically it. Somehow, the javascript in Google Docs can turn off the default
I'm trying to build some HTML with Knockout that Jquery UI can turn into
I can turn a byte into a hexadecimal number like this: myByte.ToString(X) but it
I'd like a daemonizer that can turn an arbitrary, generic script or command into
Does anyone know how you can turn off autocompletion on a textfield in Django?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.