JQuery .popup(“open”) not working properly on iOS 9 device

后端 未结 2 1712
慢半拍i
慢半拍i 2020-12-31 07:37

onClick event we call following

  1. $(\"#popupDialog\").popup(\"open\");
  2. $(\"#popupDialog\").popup(\"open\");
  3. $(\"#username\").focus();
2条回答
  •  有刺的猬
    2020-12-31 08:28

    Same problem. Seems that adding

    $(document).bind("mobileinit",function(){
        $.mobile.hashListeningEnabled=false;
    });
    

    has an effect: the pop-up opens one time. But then after closing, the problem comes back.

    Still looking into it...

提交回复
热议问题