Posted By

vagrantradio on 04/12/11


Tagged


Versions (?)

jQuery CDN Fallback


 / Published in: jQuery
 

  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
  2. <script type="text/javascript">
  3. if (typeof jQuery == 'undefined')//jquery CDN fallback
  4. {
  5. document.write(unescape("%3Cscript src='jquery.1.5.1.min.js' type='text/javascript'%3E%3C/script%3E"));
  6. }
  7. </script>

Report this snippet  

You need to login to post a comment.