jQuery Mobile Dialog on page load

前端 未结 3 1604
無奈伤痛
無奈伤痛 2020-11-30 09:49

Working on my first jQuery Mobile app. There is a localStorage value that must have a value throughout the application, so I tapped into the pageshow event to check this val

3条回答
  •  有刺的猬
    2020-11-30 10:10

    I used "pagecreate" and that seems to solve my problem (so far...)

    $(document).on('pagecreate', "#page-formyID", function () {
    
    //whatever
    
    });
    

提交回复
热议问题