jQuery调用地址CDN加速地址:
谷歌jQuery CDN加速点
[php]http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js[/php]
微软jQuery CDN加速点
[php]http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js[/php]
新浪jQuery CDN加速点
[php]http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js[/php]
为保障地址的可用性,可以这样做:第一个首选加载地址,如果加载失败js就从第二个地址加载
[php]<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
!window.jQuery && document.write('<script src=http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js><\/script>');
</script>[/php]