Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Refresh page automatically with browser Back button


Message #1 by "Tom Penhale" <thomas.penhale@w...> on Thu, 29 Nov 2001 20:48:40
I am working on a project where I would like an alert button to pop up if 
the user hits the Back button rather than the Edit button I created. To do 
this I would like to get the page to automatically refresh when the Back 
button on the browser is used.  There must be a way to do this with 
Javascript but I've yet to find it.

I have tried HTML using <META HTTP-EQUIV="Expires" CONTENT=0> or <META 
HTTP-EQUIV="Refresh" CONTENT=0> with no success.  

Any suggestions would be most appreciated.

  Return to Index