On Thu, 29 Sep 2005 00:47:05 +0200, Simon Kitching <[EMAIL PROTECTED]> wrote:

Paul Klaer wrote:
You don't need to capture the back button.
Just add this js snippet to your javascript on each page: "history.forward();"

Interesting - so if the user has used the app normally (ie not used the back button) then history.forward does nothing. But if they have used back, then as soon as the previous page loads it jumps *forward* to the page they were on when they hit the back button, effectively making "back" act like a "refresh" button?

No, a "refresh" submits the form values, if any available, again (The user has to confirm normally by a popup window). A forward just moves the browser forward without submitting the values again. So, if you really don't want the user to use the back button it's a possibility to use that js.

Reply via email to