1

I'm programming a Webapp using jQuery and have on the loginview a function that works like that

$("#login").click(function(e) {
//do stuff
});

On my desktop it's working, but when I test it on some friends Android phone, the button doesn't fires at all. What could be the issue? Any pointers? Already tried a few solutions from semilar threads here on stackoverflow:

jQuery click event not working in mobile browsers

but no success at all.

Community
  • 1
  • 1
Johnny000
  • 2,058
  • 5
  • 30
  • 59
  • What version of jQuery are you using? Also, what Android device and OS version) are you testing with? – MiStr Sep 27 '13 at 15:36
  • 2
    Check out [**this answer**](http://stackoverflow.com/questions/4755505/how-to-recognize-touch-events-using-jquery-in-safari-for-ipad-is-it-possible). Try the touch events. – gnclmorais Sep 27 '13 at 15:38
  • Ok,thanks for the input, I will try it on monday and report here – Johnny000 Sep 27 '13 at 18:02
  • I got myself a blackberry with webkit too, and click is working, strange thing ... – Johnny000 Sep 28 '13 at 15:07
  • Here is same question and answer, they are posted. Visit http://stackoverflow.com/questions/10722730/jquery-click-event-not-working-in-mobile-browsers – Atikrant Upadhye Dec 13 '16 at 05:51

0 Answers0