Luke Smith Write today, wrong tomorrow

Luke 1, IE 0

I've been spending the day trying to track down an annoying bug in IE to do with javascript,
"Internet Explorer cannot open the Internet site http://....", "operation aborted".
It's all to do with the google maps api I'm working with. It works fine under firefox
yet I couldn't get the dam thing to work in IE7 (not tried IE6 yet).

The problem was the javascript I wrote was modifying parts of the page before they
were rendered and IE threw a benny, a simple defer="defer" attribute in the <script
type="text/javascript"> tag fixes the problem.

comments powered by Disqus