加载js库的时候可以加载google CDN,可以同时加载多个jquery库<script src="http://www.google.com/jsapi"></script>google.load("jquery","1.4.2");google.setOnLoadCallback(function(){ $();//这里就可以加载jquery里面的东西了});