Reputation: 31
I am firing a click event on a div by click() function of jquery. It is working good in desktop browser, but in mobile devices it is not working.
I found that click event doesn't supported by mobile browsers, i tried tap event by trigger("tap"), but it is also not working.
I need to tap or click event in mobile devices by jquery/javascript, how can i do this ?
Upvotes: 3
Views: 3217
Reputation: 479
Click events should work on mobile. Sometimes you need to add
cursor: pointer
to the clickable elements.
Upvotes: 2