View Single Post
Old 12-01-2012, 03:16 PM   PM User | #1
oddshoes
New Coder

 
Join Date: Aug 2012
Location: France
Posts: 27
Thanks: 9
Thanked 0 Times in 0 Posts
oddshoes is an unknown quantity at this point
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
oddshoes is offline   Reply With Quote