Closed GoogleCodeExporter closed 8 years ago
Type-o in sample code. Should be:
$.getScript('http://www.google.com/jsapi',function(){
google.load('search','1',
{'language':'en',
'callback':function(){alert('hello')}});
});
Original comment by donnythe...@gmail.com
on 23 Mar 2010 at 4:13
It is something to do with jQuery. Here are two files that *always* work in
Firefox.
this_fails.html only works in IE7/8 after the cache is cleared.
(NOTE: I tried $.ajaxSetup({cache:false}) , and that didn't help)
this_works.html: Always works in all browsers.
this_fails.html: Fails in IE7/8 with the exception of the single load after the
cache
has been cleared.
Original comment by donnythe...@gmail.com
on 23 Mar 2010 at 4:51
Attachments:
It has nothing to do with jQuery, the $.getScript callback fires properly. This
issue
appeared only a few days ago.
Original comment by balazs.endresz
on 26 Mar 2010 at 6:00
The are 2 callbacks here.
Yes, the $.getScript() callback fires properly. Agreed.
It is the callback in the google.load function that does not get called when
used in
conjunction with $.getScript()
Please try the test files.
Original comment by donnythe...@gmail.com
on 26 Mar 2010 at 6:05
Also, if you call google.load once again afterwards then it works fine in IE.
Original comment by balazs.endresz
on 26 Mar 2010 at 6:06
Please elaborate. Call google.load a 2nd time with the same parameters?
Original comment by donnythe...@gmail.com
on 26 Mar 2010 at 6:09
Yes, it seems to work then.
Original comment by balazs.endresz
on 26 Mar 2010 at 6:29
[deleted comment]
This has been fixed. Please let us know if you have any further problems.
Original comment by adam.fel...@gtempaccount.com
on 8 Nov 2010 at 9:23
Original issue reported on code.google.com by
donnythe...@gmail.com
on 23 Mar 2010 at 4:11