jQuery Mobile pageinit/pagecreate not firing

后端 未结 7 1910
栀梦
栀梦 2020-12-05 05:24

I have 5 pages - for ease lets say:

  • one.html
  • two.html
  • three.html
  • four.html
  • five.html

When I load each indivi

7条回答
  •  粉色の甜心
    2020-12-05 06:06

    I believe pageinit and pagecreate are both only called once when the page is first initialized and created in the DOM, respectively.

    You may want to look into the pagechange event http://jquerymobile.com/test/docs/api/events.html

提交回复
热议问题