예있다. data-rel = "back"을 제거하고이 코드를 추가하십시오. 세 번째 페이지에 id가있는 경우 thirdPage는이 이벤트를 사용하여 마지막 페이지의 ID를 가져오고 뒤로 버튼에 클릭 이벤트를 추가하여 두 번째 페이지로 돌아갈 수 있도록합니다.
$('#thirdPage').live('pagebeforeshow', function (e, data) {
//below is a beck button of page #thirdPage
$('#thirdPage-backbtn').bind('click', function(e) {
$.mobile.changePage("#" + data.prevPage.attr('id') , {transition: "none"});
});
}
이 더 필요하면 정보는 이쪽을 봐 : http://jquerymobile.com/demos/1.0rc1/docs/api/events.html의 data.prevPage를 찾습니다.
또는 당신은이를 사용할 수 있습니다
<a href="" data-role="button" data-icon="back" onclick="history.go(-1);">Back</a>
내가이 이상하지만, 당신에게 더 많은 제어 할 수 있습니다, 첫 번째 옵션을 선호합니다.