I have a page where I need SWFObject, jQuery and Google Maps API. I thought that I could use the benefits of using:
<script type="text/javascript" src="http://www.google.com/jsapi?key=INSERT-YOUR-KEY"></script>
<script type="text/javascript">
google.load("jquery", "1.4.1");
google.load("swfobject", "2.2");
google.load('maps', '2', {'callback': googleMapSetup });
</script>
But now I read somewhere (http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/) that I need to use
google.setOnLoadCallback(function() {
// Place init code here instead of $(document).ready()
});
instead of $(document).ready().. Is this true?