你可以使用这句代码读取jQuery的最新版本的代码文件。
有效地址:
http://code.jquery.com/jquery-1.4.1.min.js
http://code.jquery.com/jquery-1.4.1.js
其中:1.4.1是版本信息
latest: 表示最新
Google引用地址:
可以使用下面这个代码从ajax.googleapis.com调用同样的最新版本jQuery:
示例:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"> </script>(目前最新的版本)
有效地址:
http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js
其中:1.4.2是版本信息
http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js
版权声明:本文为dailifang原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。