Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 8
JS event
Hi, how to know if the user touch the back button on his phone ?
4 Réponses
+ 8
Use touch event
+ 7
You can use HTML5 History API and some logic to determine whether user has pressed back button or not.
+ 4
You Mean In a Browser??
+ 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.