The optimal solution for clicking on the mobile version

Recently, I read an article on a "good" system(IOS 9) and about the number of errors in the safari.Event click didn't work.I found many solutions to this problem, but all work in their own way and each has its own disadvantages. Can you tell what is the best solution for hanging an event click on an item? To work only on mobile devices.

Upvotes: 1

Views: 55

Answers (1)

jcarrera
jcarrera

Reputation: 1068

I always use jQuery mobile's vclick event. This event handler simulates the "onclick" event handler on mobile devices.

Take a look to the documentation.

I hope this helps you!

Upvotes: 2

Related Questions