
How to forbid "back" button
You can change the page that the user goes to by setting
this command under your "back" and "forward" buttons.
document.location.replace("location");
Quote:
>-----Original Message-----
>The back button is client side activity and you can't
forbid it. Look for a
Quote:
>different solution.
>yabba
>>I have a page "A" which is generated by Java Servlet, if
>>user click a button , it will go to page "B" which is
also
>>generated by Java Servlet. I want user to click a button
>>in "B" to back to "A" not just click IE "back"
>>button ,because I needs to pass some params to "A".I
have
>>two choice : one is to forbid IE "Back";the other is
when
>>user click IE "Back" button ,I display an error message
in
>>"B" and the page doesn't go to "A".
>>But there isn't "onBack" event,then what shall I do?
>.