xncms

使用微软静态资源库

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

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

 
<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>

 

posted on 2017-04-08 10:43  xncms  阅读(1451)  评论(0编辑  收藏  举报

分类:

技术点:

相关文章:

  • 2021-05-24
  • 2022-12-23
  • 2021-12-03
  • 2021-12-03
  • 2021-09-29
  • 2021-06-17
  • 2021-07-13
  • 2022-12-23
猜你喜欢
  • 2021-12-03
  • 2021-12-03
  • 2023-03-25
  • 2021-12-03
  • 2021-12-03
  • 2021-12-03
  • 2021-12-03
相关资源
相似解决方案