Jquery click not working with ipad

后端 未结 11 900
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 12:38

we have a web application which is using Jquery blockUI to open a pop up and do some action. All of this works fine on Safari, and IE 8. problem is with Ipad. none of the ac

11条回答
  •  庸人自扰
    2020-12-02 13:03

    I found that when I made my binding more specific, it began to work on iOS. I had:

    $(document).on('click tap', 'span.clickable', function(e){ ... });
    

    When I changed it to:

    $("div.content").on('click tap', 'span.clickable', function(e){ ... });
    

    iOS began responding.

提交回复
热议问题