Forum Moderators: open
i wrote a script that flips through different quotes every few seconds. problem is when someone refreshes the page the .js file seems not to include! sometimes there is an error, sometimes not -what gives?!
i don't know if i'm allowed to post the link to the file on this forum so let me know if you want to see the script.
btw using IE 6 on pc.
thanks guys,
IPfreely
-- some script to generate the string --
var sourcename = originalsourcename
document.getElementById('scriptelementid').src = sourcename + '?' + randomstring
The searchstring is disregarded by the .js file, of course, but it fools the browser into thinking it's a fresh, never-before-requested .js file.
Never failed to work for me.