In a button, a modal is called using data-target of a button, but here since I have a touch screen I want to use ontouchstart (when touched on button, not clicked) to call the modal.
Any suggestion how can I implement this?
This is how I am calling the modal currently: (modal id is myModal)
Please suggest how can I call the div using touch functionality.