function doRefresh(){
window.name="reloaded";
location.reload();
}
</script>
</head>
if the current window or frame is not a target of any link or form, then you can do the trick with window.name. This property persists even if the page has unloaded.
Originally posted by kalleballe thank you! it's working perfect!
is it possible to get rid of the ?reloaded extension at the url? it's not important, just want to know if it's possible
Originally posted by glenngv there is another way of doing this.
<head>
<script>
if (window.name!="reloaded") doRefresh();
function doRefresh(){
window.name="reloaded";
location.reload();
}
</script>
</head>
if the current window or frame is not a target of any link or form, then you can do the trick with window.name. This property persists even if the page has unloaded.
why not just use a meta tag to refresh the page?
I have a similar question in the cgi board so....maybe this is my answer
Oh no wait that would referesh the page multiple times....
I am wondering how to use this reload once script when a back button is pressed? Certain select boxes disappear and have to do a refresh but only once.
Thanks
boy is this easy and yet I'm drawing a blank
go offline and type in a webpage URL
hold your mouse over the text part that says "Back"
it's history-1 or something like that
Golfpac Travel offers discounted tee times and vacation packages to top golf courses throughout the United States. Learn about our custom golf packages!
I'm not sure what you are hinting too, so drop me an email:
Comment