marlin Posted September 23, 2005 Posted September 23, 2005 Is there a way that I can find out if the BACK button has been clicked? Quote
samsmithnz Posted September 23, 2005 Posted September 23, 2005 Why? Why do you need to know? Quote Thanks Sam http://www.samsmith.co.nz
marlin Posted September 23, 2005 Author Posted September 23, 2005 Why? Why do you need to know? I have just done some more testing and finally got my problem resolved. I have an application that has a link to printer-friendly version page. Instead of using RESPONSE.REDIRECT to redirect my page to the printer-friendly page, I used javascript to change DOCUMENT.LOCATION. When I used DOCUMENT.LOCATION, it added two entries in the history instead of one. Therefore, when I clicked on BACK button, I was stuck with the printer-friendly page. Now that I use RESPONSE.REDIRECT, the history looks fine and I can return to the proper page. Thank you for your response. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.