Select to view content in your preferred language

Cannot get JS Template to load in Internet Explorer

1280
7
12-29-2011 08:00 AM
BenMcConville
Occasional Contributor
I have been working on an ESRI JS template.  It runs fine in Fire Fox and ok in Chrome but it will not even load in internet explorer.  Any ideas why this might be happening and what I can do to fix it??

Thanks
0 Kudos
7 Replies
KellyHutchins
Esri Notable Contributor
Which template and which version of Internet Explorer?
0 Kudos
BenMcConville
Occasional Contributor
Thanks for the reply Kelly!  I am using IE 9.0.8112.16421.  I am using the Election Polling Place template. http://arcgis.com/home/item.html?id=14290c7441b34ea984ad9310f4cf6435

Like I said it runs fine in FireFox and runs with problems in Chrome.  IE it will not run at all.

Thanks again.
0 Kudos
BenMcConville
Occasional Contributor
Let me clarify.  In doing further testing I was able to get it to run in Internet Explorer but only in compatibility view.  Is this normal?
0 Kudos
BenMcConville
Occasional Contributor
In compatibility view the application works as it does in Chrome. Certain features will not display.
0 Kudos
KellyHutchins
Esri Notable Contributor
Ben

It looks like that template is using Version 2.2 of the ArcGIS API for JavaScript. IE9 support started at version 2.3 so you can run the application in compatability mode like you are now or upgrade the app to version 2.3.

Blog post regarding IE9 support at version 2.3.
http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/04/04/test.aspx
0 Kudos
BenMcConville
Occasional Contributor
Kelly,  Is there any documentation on how to upgrade the application?

Thanks
0 Kudos
KellyHutchins
Esri Notable Contributor
Ben,

The upgrade may be as simple as changing the script tags to point to the latest version (2.6) but you may run into some issues. It might be worth leaving a comment on the ArcGIS.com item to ask if the template author has tried to upgrade.

http://arcgis.com/home/item.html?id=14290c7441b34ea984ad9310f4cf6435
0 Kudos