wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Disabling Browser's 'BACK' button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disabling Browser Watch "Disabling Browser New topic

Disabling Browser's 'BACK' button

Vivek Puthiyonnan

Joined: Jan 26, 2005
Posts: 18
How can i disable the browser's 'BACK' button using script ?

Vivek P
Sri Ram
Ranch Hand

Joined: Oct 03, 2005
Posts: 118
Onload of that page,

Use this code.
But i would personally say that, disabling the back button in a browser is not a good design.
Don't get me started about those stupid light bulbs.
subject: Disabling Browser's 'BACK' button
Similar Threads
Ok. But where is the Cancel?
browswer's back button
how t o disable back button after logging off
Browser Back buton
Form Reset