« Back to posts
  • Viewed
    times
January 23, 2010

Using CDN Hosted jQuery with a Local Fall-back Copy - Jon Galloway

  • Edit
  • Delete
  • Tags
  • Autopost
1<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js"></script>
2<script type="text/javascript">
3if (typeof jQuery == 'undefined')
4{
5    document.write(unescape("%3Cscript src='/Scripts/jquery-1.3.2.min.js' type='text/javascript'%3E%3C/script%3E"));
6}
7</script>
via weblogs.asp.net

Tweet
  • 0 responses
  • Like
  • Comment