How to initialize pages in jquery mobile? pageinit not firing

后端 未结 11 1262
死守一世寂寞
死守一世寂寞 2020-11-29 01:44

What\'s the right way to initialize objects on a jquery mobile page? The events docs say to use \"pageInit()\" with no examples of that function, but give exam

11条回答
  •  伪装坚强ぢ
    2020-11-29 02:14

    The events don't fire on the initial page, only on pages you load via Ajax. In the above case you can just:

    
    

提交回复
热议问题