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.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

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

Facebook photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.