![]() |
VOOZH | about |
The touchend event is used to execute a script when a user removes his finger from an element. It will only work on devices with a touch screen.
Supported Tags
Syntax:
object.ontouchend = myScript;
Below program illustrates the touchend event :
Example-1: Executing a JavaScript when the user releases the touch.
Output:
Before touching the screen:
After touching the screen:
Supported Web Browsers: