You don't need to capture the back button.

Just add this js snippet to your javascript on each page: "history.forward();"


On Wed, 28 Sep 2005 01:30:44 +0200, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:

This may not be a strictly JSF question, but I was wondering if someone
could give pointers on how to selectively restrict the user's ability to
hit the browser's back button.  In particular, after a major operation
is complete, we don't want the user hitting the back button and trying
to enter fields used in the prior transaction.

I would have thought there was some sort of JavaScript "history" event
that I could capture, but I don't see one in any of the JavaScript
references I have.

- Brendan


Reply via email to