Easy Tutorial
❮ Jquerymobile Buttons Event Tap ❯

jQuery Mobile taphold Event

jQuery Mobile Events

Example

Tap and hold the <p> element (for about one second) to hide it:


Definition and Usage

The taphold event is triggered after tapping and holding (for about one second).


Syntax

Parameter Description
function(event) Required. Specifies the function to run when the swipe event is triggered. <br> <br>The function has an optional event object, which can be any jQuery event property (e.g., event.target, event.type, etc.). For more information, refer to the jQuery Event Reference

More Examples

Event Object


jQuery Mobile Events

❮ Jquerymobile Buttons Event Tap ❯