Load jQuery from Google CDN if Available or load from your site

Load jQuery from Google CDN if Available or load from your site

Don’t forget to replace ‘website.com’ with your domain.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script><script>window.jQuery || document.write('<script src="http://website.com/js/jquery-1.8.2.min.js"><\/script>')</script>