Mobile Safari иногда не запускает событие щелчкаJquery

Программирование на jquery
Ответить
Гость
 Mobile Safari иногда не запускает событие щелчка

Сообщение Гость »


Я работаю над динамическим приложением JavaScript. у меня много anchor elements that have a class. When that class is clicked, something should happen. This works fine in Firefox, Chrome, IE, but in some cases the click event is not triggered on mobile Safari (iPad and iPhone).

These elements all have exactly the same CSS, it's just their position that differs (they are in different containers).

I tried various solutions that I found here but with no luck. For instance:
  • setting the cursor to pointer
  • the code in this answer
Do you have any other idea that might help me find a solution to this? Why does the click event triggers only in some cases?


Источник: https://stackoverflow.com/questions/240 ... lick-event
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Jquery»