144
rated 0 times
[
146]
[
2]
/ answers: 1 / hits: 16213
/ 12 Years ago, fri, february 15, 2013, 12:00:00
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.
In PHP the script would look like this:
<script src=http://site.com/cool.js?<?php echo $randomnumber; ?>></script>
Is there a way to do something like that using only javascript?
More From » jquery