0

I'm trying to fire some code as soon as an element starts being pressed using jQuery's mousedown function, but it's always delayed by about half a second or so. I tried on("touchstart", ... ) but that never even fired the event ever. How do I get the event to fire straight away? I'm testing it on an Android. Thanks

  • Possible duplicate of: [300ms delay removal: using fastclick.js vs using ontouchstart](http://stackoverflow.com/questions/27173272/300ms-delay-removal-using-fastclick-js-vs-using-ontouchstart) – deblocker Dec 20 '16 at 12:31

1 Answers1

-1

jQuery Mobile's "tap"

$("p").on("tap",function(){...});
Artem Dudkin
  • 588
  • 3
  • 11