Error: ‘google’ is undefined in IE8
June 16, 2010 10 Comments
While using the Google Api forOrg chart generation I came across the error “‘google’ is undefined” when i was testing it in IE 8 browser. The same code was working fine in Mozilla FireFox . Google the error was not able to find solution. After lots of searching fixed it by doing a small one character change in the URL. Can you guys guess what would be that?
<script type=”text/javascript” src=”http://www.google.com/jsapi”></script>
with
<script type=”text/javascript” src=”https://www.google.com/jsapi”></script>
Its really frustrating. Dont know this is the solution for this or not. But it worked for me!!
hey its great it helped me also just a character change its nice
—
thanks man thanks lotttttt…..
Awesome.
It just solved my problem. My v3 maps were not working in IE8 on HTTPs.
Cheers.
Thanks a lot.
I struggled a lot for the issue in IE8. It was working fine for other browsers but was not working in IE8. After this changes it worked.
Thanks a lot!
Glad it helped!!
Thanks, it worked!
I’ve got same problem. Trouble is the page can be viewed in http and https
Any ideas on how to tackle that?
I’ve got the same problem. Trouble is the page can be viewed in both http and https.
Any ideas on how to deal with that?
Do you want to restrict it to https or do you want to load script with respective protocols?
Thank you very much
Glad that helped!!