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.
Quote:
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
|