3

When i try to trigger an event click with a mobile browser the "click" doesn't work. With Firefox for Desktop works fine.

This is my html:

<li class='brand'></li>

And this is my jquery:

$('.brand').click(function() { alert('ok') });

Can you explain me? Thanks.

Lorenzo Belfanti
  • 1,205
  • 3
  • 25
  • 51
  • so it shows the alert?? – zzlalani Feb 14 '14 at 10:30
  • Yes, most times because I believe is due to the fact of having more
  • with the same class
  • – Lorenzo Belfanti Feb 14 '14 at 10:32