View Full Version : Refresh/Update only once

08-19-2002, 10:23 PM
Isn't there a js script that, once the page loads, refreshes/updates the page once, the just once, and only once without timeouts, etc?

Thx :D

08-20-2002, 12:03 AM
window.onload = function() {
if (!window.location.search) {
setTimeout("window.location+='?refreshed';", 5000);

08-20-2002, 01:20 AM
Heh heh...Thanks

I saw the other post in here...but it was 3 in the morning and didn't think to just change the time out to .5 seconds. :D

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum