Posted By

jaff on 09/07/10


Tagged

javascript google code jquery


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

randylien
Onfire60


Grab Google CDN's jQuery. fall back to local if necessary


 / Published in: JavaScript
 

URL: http://www.1stwebdesigner.com/development/snippets-html5-boilerplate/

  1. <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
  2. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  3. <script>!window.jQuery && document.write('<script src="js/jquery-1.4.2.min.js"></script>')</script>

Report this snippet  

You need to login to post a comment.