Posted By

koteus on 09/19/10


Tagged

jquery local CDN


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

nicktheandroid


Grab Google CDN jQuery. fall back to local if necessary


 / Published in: JavaScript
 

  1. <!-- Grab Google CDN 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.