Load external <script> without cache using Javascript
<p>I want to load an external javascript file into the page and make sure its not cached. I do not have access to php so I cant generate a random string after the filename.</p>

<p>In PHP the script would look like this:</p>

<pre><code>&lt;script src="http://site.com/cool.js?&lt;?php echo $randomnumber; ?&gt;"&gt;&lt;/script&gt;
</code></pre>

<p>Is there a way to do something like that using only javascript?</p>
