File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes javascript for disable back button Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 15362
    
    6
http://www.4guysfromrolla.com/webtech/111500-1.2.shtml

Eric
Ulf Dittmer
Marshal

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


Android appsImageJ pluginsJava web charts
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.


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: javascript for disable back button
 
Similar Threads
how to diable browser back button
JSP login/logout session problem
Log Out Problem
Browser Back Button
Disable the functionality of the back button in all browsers.