kadi — 2014-02-27T08:34:19-05:00 — #1
Hi, i got a button with a click doing some function. The click is working fine on web browser but when i tested on my ios touch device its working but with delay. how to avoid the click delay in touch enable browsers so that i can touch button continuosly without any delay ....i know the events like mouseup,down equivalent to touchstart,down,etc.. i need for click...
pullo — 2014-02-27T08:59:53-05:00 — #2
AFAIK, click events don't work on iOS. You should use touchstart
kadi — 2014-02-27T09:30:29-05:00 — #3
i tried with touchstart, touchend in place of click but none of it is working. any idea...
pullo — 2014-02-27T09:42:12-05:00 — #4
I'm away from the PC right now, but I'll have a look later on and get back to you.
pullo — 2014-02-27T14:22:30-05:00 — #5
This works as expected for me on my iPhone:
you also had a typo in your code:
)}; <---- bracket and curly brace are the wrong way round