-1

Windows 8 アプリでhistory.back()実行history.forward()できないため、使用するアレイのすべての履歴を回復したい$.mobile.changePage();

しかし、「履歴をどのように解析/閲覧するのですか?」

アイデア?

どうも。

4

1 に答える 1

2

クライアント側の JavaScript 配列を作成し、jQuery モバイル API でページ読み込みイベントが発生するたびに新しいエントリを追加しないのはなぜですか?

var myPageHistory = [];
$(document).bind('pageload', function( event, data ){
myPageHistory.push(data.url); // add the page to the history array
})
于 2012-07-11T15:58:35.300 に答える