强制IE浏览器工作在某个模式   Leave a comment

比如让IE9工作在IE8模式

在salesforce中 加入 Apexpages.currentPage().getHeaders().put(‘X-UA-Compatible’, ‘IE=8’);

即在http response 中加入’X-UA-Compatible’:’IE=8’。

Posted 2012年02月7日 by gw8310 in http, salesforce

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: