snipt

Ctrl+h for KB shortcuts

Text only

Load jQuery from Google CDN , or load from your site if it's not available!

<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>
https://snipt.net/embed/877a66c9a0c13e0799d70ddb40d7474e/
/raw/877a66c9a0c13e0799d70ddb40d7474e/
877a66c9a0c13e0799d70ddb40d7474e
text
Text only
1
2019-02-13T20:13:47
True
False
True
Feb 12, 2014 at 12:21 PM
/api/public/snipt/113085/
load-jquery-from-google-cdn-or-load-from-your-site-if-its-not-available
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js&quot;&gt;&lt;/script&gt;&lt;script&gt;window.jQuery || document.write(&#39;&lt;script src=&quot;http://website.com/js/jquery-1.8.2.min.js&quot;&gt;&lt;\/script&gt;&#39;)&lt;/script&gt; </span></pre></div> </td></tr></table>
cdn, jquery