Return to Snippet

Revision: 54788
at January 12, 2012 02:47 by Huskie


Initial Code
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>!window.jQuery && document.write('<script src="js/jquery-1.7.1.min.js"><\/script>')</script>

Initial URL
http://darrenhuskie.com/

Initial Description
This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward).

Initial Title
Google CDN jQuery loading fallback

Initial Tags
javascript, html, google, jquery, html5

Initial Language
jQuery