How to navigate back one page using $.mobile.changePage

后端 未结 6 1196
长情又很酷
长情又很酷 2021-02-07 04:19

All of the JQuery Mobile documentation I can find about navigating backwards assumes I am going to do this using an anchor tag and suggest I add data-rel=\"back\" t

6条回答
  •  灰色年华
    2021-02-07 05:06

    Why not just use data-rel="back" as an attribute to your back button, this will take the user back 1 page.

    Also equivalent to history.back()

提交回复
热议问题