The best way to load javascript locally if web not available?
<p>I am using the following. The intent is that it will load jQuery even if I am running on my development machine and the internet is not available. </p>

<p>Can someone let me know if this is the best way to do this?</p>

<pre><code>  &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
    window.jQuery || document.write('&lt;script src="/Scripts/jquery/jquery-1.6.1.min.js"&gt;\x3C/script&gt;')
</code></pre>

<p>Thanks</p>
