Possible duplicate of:
should-i-link-to-google-apis-cloud-for-js-libraries
also many other discussions, including:
http://stackoverflow.com/questions/547384/where-do-you-include-the-jquery-library-from-google-jsapi http://stackoverflow.com/questions/1014203/best-way-to-use-googles-hosted-jquery-but-fall-back-to-my-hosted-library-on-goo
I was looking at the Tiny MCE plugin example and saw this code in the head
of the document:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3");
</script>
I've never seen this way to load jQuery.
- Is this recommended for production?
- What is the benefit of this method?