Photo of Words

getURL doesn\'t work in IE

Multiple simultaneous calls to getURL doesn\'t work in IE6 and IE7

By: Jeremy Knight

Recently discovered this irritating little IE gem. I built a site where you create a virtual button and then download it to your computer. I was using getURL to download a zip file but also using getURL to call a javascript function which tracked that a user had downloaded a button. I was using google analytics. After some digging I found out that IE cannot handle multiple simultaneous getURL statements. It will only do the last one in a series (I think). I eventually found the answer here (actually a Flex article):

http://www.adobe.com/devnet/flex/articles/analytic_app_print.html

under the heading:
An Aside : A Quick Glance Under the Hood

They recommend setting up some sort of getURL queue. That sounded complicated so I decided to just shift some things around a bit so that the two getURLs didn\'t come at the same time. I made it so one was called onRelease, which caused an animation and at the end of the animation I called the second one.

Problem solved. Yea internet!