Prev: When is software good enough? (was Re: Motivation of softwareprofessionals)
Next: image size onload in IE
From: FAQ server on 14 Feb 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. |