Saturday, January 23, 2010

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

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>

Posted via web from solution revolution

No comments: