function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Force IE 10 to open in IE 9 compatibility mode

Hi  friends,


I want to open by VF page in IE 9 compatibitlity mode  on IE 10 I have used this 


  <meta http-equiv="X-UA-Compatible" content="IE=9"/> in head


bt Unfortunatley its not working .Can Any Body help me to implement  this?????????


Thanks in advance


Yousef ShanawanyYousef Shanawany
I remember the <apex:page has a 'doctype' attribute. For example:

<apex:page docType="xhtml-1.0-strict" title="Strictly XHTML"
showHeader="false" sidebar="false">

Check out more here:

If you have a controller for the VF page use the following code in the constructor.

Apexpages.currentPage().getHeaders().put('X-UA-Compatible', 'IE=9');