Error: ‘google’ is undefined in IE8

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!!


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *