Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
12-01-2012, 03:16 PM #1
- Join Date
- Aug 2012
- Thanked 0 Times in 0 Posts
Is Refresh page button part of DOM
Are the back button and the refresh button part of the DOM, and if so is it possible to disable them for a particular page? Anticipating the obvious question “why would you want to do that", I have a form into which which users enter data, which then posts the data to a new page which reviews the input, the data having been stored in a MySQL database. To edit the data there is a button to go to yet another page which then pulls the data from the MySQL database and allows the user to edit it. Despite the fact that the edit data button is large and there is bold text entreating the user not to use the back and refresh buttons, a significant number still do. This results in a 2nd record being placed in the database rather than editing the 1st.
Maybe there is a better way round this problem as I am sure it is not unique to me?
All clues greatly appreciated.A talent for speaking differently, rather than for arguing well, is the chief instrument of cultural change. Richard Rorty
12-01-2012, 08:41 PM #2
- Join Date
- Sep 2005
- Sydney, Australia
- Thanked 624 Times in 614 Posts