Created
September 10, 2013 01:20
-
-
Save warriorg/c1a8e9c909a6d1d64df6 to your computer and use it in GitHub Desktop.
Javascript:调用Google CDN的jQuery库,如果失败使用本地jQuery库
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Grab Google CDN's jQuery. fall back to local if necessary --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script>!window.jQuery && document.write('<script src="js/jquery-1.4.2.min.js"><\/script>')</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment