jquery cdn bootstrap静态资源库问题

使用微软静态资源库html

<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js"></script>
 

为了让您的页面回退,若是CDN不可用,从本地路径加载jQuery,请在引用CDN的元素后当即添加如下元素:jquery

 
<script>
  // Fallback to loading jQuery from a local path if the CDN is unavailable
  (window.jQuery || document.write('<script src="/scripts/jquery-1.9.0.min.js"><\/script>'));
</script>
相关文章
相关标签/搜索