HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Execute a JavaScript when the user releases the touch (for touch screens only)
The touchend event occurs when the user removes the finger from an element.
The numbers in the table specify the first browser version that fully supports the event.
Event | |||||
---|---|---|---|---|---|
touchend | 22.0 | 12.0 | 52 | Not supported | Not supported |
In HTML:
<element ontouchend="myScript">
In JavaScript:
object.ontouchend = myScript;
In JavaScript, using the addEventListener() method:
object.addEventListener("touchend", myScript);
Bubbles: | Yes |
---|---|
Cancelable: | Yes |
Event type: | TouchEvent |
Supported HTML tags: | All HTML elements |