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!!
Leave a Reply