jquery.click() not working in iOS

前端 未结 5 1348
既然无缘
既然无缘 2020-12-01 14:09

HTML:


      
      
5条回答
  •  情歌与酒
    2020-12-01 14:41

    The simplest solution to this issue is to just add cursor: pointer; to the style (CSS) of the element that you are targeting.

    #button1 {
        cursor: pointer;
    }
    

    Alternatively, this could be added inline:

    Option 1

提交回复
热议问题