Well, this looks strange but I\'m not able to find a solution.
Why in the world does this fiddle http://jsfiddle.net/carlesso/PKkFf/ show the page content and, then
You don't need to set timeout. There is another way:
$.getScript("https://www.google.com/jsapi", function () {
google.load('visualization', '1', { 'callback': 'alert()', 'packages': ['corechart'] });
});
Explanation:
function () {
google.load('visualization', '1', { 'callback': 'alert()', 'packages': ['corechart'] });
}
will be executed after successful load JSAPI script, then alert() will be executed after successful google.load()