/ Published in: JavaScript
if the Google cdn copy of jquery or what ever fails, use a local copy of the script
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- Grab Google CDN's jQuery. fall back to local if necessary --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script type="text/javascript">!window.jQuery && document.write('<script src="http://www.thiswebsitesdomain/js/jquery.js"><\/script>')</script>