Is it possible to determine when the user clicks the browser button?
I have an Ajax application, and if I can detect when the user clicks the back button, I can display the relevant data
Any solution using PHP, JavaScript is preferable. A hell of a solution in any language is fine, you just need something that I can translate into PHP / JavaScript
Edit: cut and paste from below:
Wow, all great answers. I would like to use Yahoo, but I already use the Prototype and Scriptaculous libraries and do not want to add more ajax libraries. But it uses iFrames, which gives me a good pointer to my own code.
javascript browser php
Rushi Sep 11 '08 at 5:52 2008-09-11 05:52
source share