From: FAQ server on 16 Apr 2010 19:00 ----------------------------------------------------------------------- FAQ Topic - How can I disable the back button in a web browser? ----------------------------------------------------------------------- You can't. The browser's history cannot be modified. However, you can use ` self.location.replace(url); ` in some browsers to replace the current page in the history. http://msdn.microsoft.com/en-us/library/ms536712%28VS.85%29.aspx http://docs.sun.com/source/816-6408-10/location.htm#1194240 The complete comp.lang.javascript FAQ is at http://jibbering.com/faq/ -- The sendings of these daily posts are proficiently hosted by http://www.pair.com.
|
Pages: 1 Prev: SQL = "INSERT INTO Next: How can I make the browser display changes at once? |