
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
|
(Get Attention Ticker for your web site)
Detecting a "Back" Button ClickBy Will Bontrager Occasionally, the question comes up about how to detect when a browser's "back" button is clicked. With the gaining popularity of form auto-submission blocking software, which tend to restrict form submissions to once per page load, the question has become more frequent. When the use of the "back" button can be detected, the form user can be notified that a reload is necessary before the form can be used again. I know of no way to detect the actual click on a browser's "back" button. However, certain events can be detected (page load, page unload, page re-focus) and, depending on which order they occur, determine with some certainty whether or not the "back" button was clicked. Click here for the complete article. April 3, 2007 Please note: Articles on this website are presented "as is". However - If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Rate this blog post.
No page reload! |
|
|
© 1998-2001 William and Mari Bontrager |
|