jQuery Mobile tap Event
Example
Tap a <p> element to hide it:
Definition and Usage
The tap event is triggered when a user taps an element.
Tip: The tap event is similar to the jQuery click() method.
Syntax
| Parameter | Description |
|---|---|
| function(event) | Required. Specifies the function to run when the tap 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 |