Google map problem in IE, shows js error

Dear all,

I’m integrating google map to my site running under phpmydirectory.

The google map display nicely in FF, however, there are alignment problems to all the controls (up, left, right, down buttons) and the map is not shown in the page.

Below is the error I found from that page:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sat, 19 Dec 2009 01:50:48 UTC

Message: Unknown runtime error
Line: 222
Char: 43
Code: 0

Message: Object doesn’t support this property or method
Line: 6
Char: 1
Code: 0

Do you have any idea how to solve this problem?

Thank you!

forgot to mention that this problem is happened in IE 7 & lower versions…

It is fine under IE8…

The second error can happen if you are using a variable that is same as an id attribute in html.

Oh?! Thanks for your reply semantic7. I’ll check the whether there is any conflict.

But wondering why this only happened to IE 7 and below…

Never mind, I’ll try to update the status here when I found it! :slight_smile:

I have the same error with IE8. problem resolved.