Return to Snippet

Revision: 40107
at January 26, 2011 07:40 by matula


Initial Code
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

<script type="text/javascript">
if (typeof jQuery == 'undefined')
{
    document.write(unescape("%3Cscript src='/path/to/your/jquery' type='text/javascript'%3E%3C/script%3E"));
}
</script>

Initial URL

                                

Initial Description

                                

Initial Title
Load jQuery from Google CDN, but fallback to local if it fails

Initial Tags
google, jquery

Initial Language
JavaScript