GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes javascript for disable back button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript for disable back button" Watch "javascript for disable back button" New topic
Author

javascript for disable back button

Anand Suryavanshi
Greenhorn

Joined: Feb 16, 2009
Posts: 5
hello experts,

i want javascript to disable the back button of the IE.
thank
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://www.4guysfromrolla.com/webtech/111500-1.2.shtml

Eric
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42031
    
  64
That's a nice summary article; I've added a link to it to the http://faq.javaranch.com/java/JavascriptLinks page.


Ping & DNS - my free Android networking tools app
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Anand Suryavanshi wrote:hello experts,

i want javascript to disable the back button of the IE.
thank

This is usually asked to workaround a certain problem which isn't elaborated about at all.
Better elaborate here about the actual problem and ask how to solve it.

Changing the client environment and user experience is a bad practice. Think twice about it.

At any way, the real solutions for the common problems for which this workaround is "invented" are the PRG pattern and disabling of the response caching and in some cases just robustly written code at server side.
 
GeeCON Prague 2014
 
subject: javascript for disable back button