snipt

Ctrl+h for KB shortcuts

JavaScript

Google-hosted jQuery

1
2
3
4
5
<script src="http://www.google.com/jsapi"></script>
<script>
  // Load jQuery
  google.load("jquery", "1");
</script>
https://snipt.net/embed/79c932b7d2bf15ea4532f00f2dacdb64/
/raw/79c932b7d2bf15ea4532f00f2dacdb64/
79c932b7d2bf15ea4532f00f2dacdb64
js
JavaScript
5
2019-08-21T23:13:19
True
False
False
/api/public/snipt/13512/
google-hosted-jquery
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="o">&lt;</span><span class="nx">script</span> <span class="nx">src</span><span class="o">=</span><span class="s2">&quot;http://www.google.com/jsapi&quot;</span><span class="o">&gt;&lt;</span><span class="err">/script&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="o">&lt;</span><span class="nx">script</span><span class="o">&gt;</span> </span><span id="L-3"><a name="L-3"></a> <span class="c1">// Load jQuery</span> </span><span id="L-4"><a name="L-4"></a> <span class="nx">google</span><span class="p">.</span><span class="nx">load</span><span class="p">(</span><span class="s2">&quot;jquery&quot;</span><span class="p">,</span> <span class="s2">&quot;1&quot;</span><span class="p">);</span> </span><span id="L-5"><a name="L-5"></a><span class="o">&lt;</span><span class="err">/script&gt;</span> </span></pre></div> </td></tr></table>
google, javascript, jquery