+ 8
JS event
Hi, how to know if the user touch the back button on his phone ?
3 Answers
+ 8
Use touch event
+ 7
You can use HTML5 History API and some logic to determine whether user has pressed back button or not.
+ 1
Mighty Coder it's not a normal touch event, it's the back button of a samsung device (for example). it will not works with a basic touch event handler.