Google上的jQuery各版本引用地址集合

Google code 使用了 cdn 技术,在很多地方有节点服务器,加载 jquery 时绝对不会比在你服务器上加载慢,另外还可以节省服务器流量,降低服务器带宽压力!

两种方式引用 google code 的jquery:

一、引用 http://www.google.com/jsapi?key=Goolge 密钥

<script type="text/javascript">
google.load("jquery", "1.4.2");
</script>

二、直接引用 jQuery 地址,比如:http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js

Google jQuery引用文件:

<script src="http://ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>

jQuery 官网引用地址:

<script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript"></script>

注:其它版本 jQuery,只需要修改上述链接地址中的版本号即可。