Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh previous window before going back to it

Status
Not open for further replies.

camillaj

Programmer
Sep 18, 2003
31
0
0
AU
How can I refresh my previous window.
The thing is I want the previous window to be refreshed when user clicks a "goback button" (refresh the window he goes back to). I tried to put a
window.location.reload() in <body onload=..> in that previous window, but that causes a reload loop.

I tried with something like this:
function reload() {
window.location.reload(-1);is there another way to dothis!
window.history.go(-1);
}

But the first line doesn't work!!

Thanks
 
a better way is to empty the cache. u cannot stop the back from displaying a cached page. there is literally no way to do this in javascript...

Known is handfull, Unknown is worldfull
 
Thanks for that, but how can I do such a thing?
 
u hvae to use server side programming. try the ASP/PHP forums. try also the HTML forums...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top