/ Published in: JavaScript
Check if jquery was loaded from CDN. If not, load it from own website.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script> if(typeof window.jQuery === 'undefined') { document.write( unescape("%3Cscript src='js/jquery.js' type='text/javascript'%3E%3C/script%3E") ); } </script>
URL: http://habrahabr.ru/post/250663/