I don't think it's possible to Disable the back button but can one abort the action of going back to the previous screen after the Back button is clicked.
Typical use would be to save some edited data before returning to previous screen
I don't think it's possible to Disable the back button but can one abort the action of going back to the previous screen after the Back button is clicked.
Typical use would be to save some edited data before returning to previous screen
Hi Pete,
1) If you mean device Back button you can catch its click event and do what you need (for example, save some data entered on page). You can find an example here: https://getsatisfaction.com/apperyio/...
2) If you mean Header Back button, do not use standard Back button, use the usual Button instead. On click you can save data and then navigate.
3) You can merge these approaches, i.e. if you need to save some edited data before returning to previous screen, you can use Page transition events (http://jquerymobile.com/demos/1.2.0/d...) to catch the moment you leave a page and do what you need.
Great. Thanks for the help Katya.