OT: JavaScript history and refresh

2004-06-29 Thread Robert Orlini
Is it possible to go back one page with JS history and also refresh the page as well? I have this script: Script Language = _javascript_ alert (Item Deleted); window.history.go(-1); /script It goes back fine after prompting the user, but I would like it to refresh the same page it goes back

Re: OT: JavaScript history and refresh

2004-06-29 Thread Marlon Moyer
I think you would want to do a location = 'wherever.html' instead of a history, since the history is relying on whatever the browser has in cache. You might be able to use the cgi.referrer variable to figure out where you just came from. Marlon On Tue, 29 Jun 2004 11:33:09 -0400, Robert