How to trigger a data-rel=“back” button in JQuery Mobile 1.4.3 with javascript?

后端 未结 2 1811
误落风尘
误落风尘 2021-01-15 09:50

I am using \"page widget\" to implement a dialog in jquery mobile with data-dialog=\"true\", everything is fine, i can also back to the previous page with the b

2条回答
  •  不思量自难忘°
    2021-01-15 10:14

    This should work:

    $(':mobile-pagecontainer').pagecontainer('change', , { reverse: false });
    

    Reverse-option being true/false determines whet ever you are going backwards or forwards. True means back I think.

提交回复
热议问题