I want to display a popup on mousedown. It works fine in desktop and android. But in iOS it dosen't work. Is there any other event to be used instead of mousedown
?
Asked
Active
Viewed 26 times
0

Damo
- 7
- 2
- 9
-
Have you tried using the jquery-mobile library? – Barmar May 24 '22 at 14:39
1 Answers
0
I duplicate the function that has $(document).mousedown(function(e)
and replaced with this $(document).bind('touchend', function(e)
and it's working now

Damo
- 7
- 2
- 9