Vishful thinking…

Supporting IE8 for your JS API applications

Posted in ESRI, Web by viswaug on March 27, 2009

Microsoft released Internet Explorer 8 sometime last week. Now, for all the web developers out there (which includes me), this means that they will have to support another browser for their applications. If you have been building your mapping application using the JS API or have some JS API applications in production, there is a little trick that you can currently do to ensure that your applications work fine on IE8. Just add the following META tag in the HEAD section of your web page

<meta http-equiv=”X-UA-Compatible” content=”IE=7″ />

This forces IE8 to render your pages in IE7. This might be a good fix until the JS API and your web applications can be written for / tested for IE8. I picked up this little trick from the JS API developers themselves at the developer summit. Check out this “A List Apart” link for more details.

One Response

Subscribe to comments with RSS.

  1. Jason said, on March 29, 2009 at 2:01 am

    You can also config IIS to render your pages site wide in IE compatibility mode. For some reason single site did not work reliably for me.

    http://www.roktech.net/devblog/index.cfm/2009/3/20/ArcGIS-Server-JS-API-and-IE-8


Leave a Reply

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 / Change )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: