Programmatically Open ShapeFiles with ArcObjects

Internet Explorer 9 and Their Javascript Problem

19. September 2010 20:52 by Scott in   //  Tags:   //   Comments (3)

I own a website over at http://www.Utopiapimp.com.  I have well over 2 million pageviews daily and most of my users are Firefoxers or Chromers.  But when I run Internet Explorer against my site I receive a few errors.  Even with the brand new Internet Explorer 9 Beta, there is still a Javascript problem.  I use third party tools such as Google Analytics and the Intense Debate comment system.  Each third party tool also employs the same javascript file from Quantserve that I pull for my site.

The problem is this, IE doesn’t just pull one quant.js file for all three times it gets mentioned in my site, It pulls it three times.  Therefore it gets declared three times along with all the global javascript variables. That means I receive errors and can’t run all my javascript code correctly. But what browsers do this correctly?  Chrome and Firefox, and its because of small things like this, why I keep surfing with Firefox and Chrome and just don’t touch IE.

This article was written with specific intent to reach the Internet Explorer Team and hope they make a fix before IE 9 comes out of Beta.

Scott

If you liked this post, please be sure to subscribe to my RSS Feed.

Comments (3) -

wekempf
wekempf
9/21/2010 6:23:46 AM #

So, IE gives behavior you don't like and other browsers give behavior you do like, so you jump to the conclusion that IE is doing the wrong thing? Show me in the standard where it defines the behavior that should happen here. I don't see anything that explicitly says, but my interpretation of spec seems to indicate that IE is behaving correctly and the others are not.

Rick Roth
Rick Roth
9/21/2010 10:01:58 AM #

Why do you reference the same JavaScript file three times?  Sounds like your problem, not IE's....

Rick

Scott
Scott
9/21/2010 12:42:20 PM #

You can't help but reference it when the third party libraries use it in their implementation.