Hi,
in order to pass Information from one page to another you should implement a single page Navigation approach as explained in this
quickstart.
On the bottom of the quickstart they show how to use the navigate function. You can pass a second argument to this which will be the object that you pass to the second page.
for page1:
// page1.js
(function () {
"use strict";
WinJS.UI.Pages.define("/pages/page1/page1.html", {
WinJS.Utilities.query("a").listen("click", linkClickEventHandler, false);
}
});
function linkClickEventHandler(eventInfo) {
eventInfo.preventDefault();
var link = eventInfo.target;
WinJS.Navigation.navigate(link.href, {value1: "your value1", value2: "your value2"});
}
})();
and in page 2
(function () {
"use strict";
WinJS.UI.Pages.define("/pages/page2/page2.html", {
ready: function (element, options) {
// retrieve your values
var value1 = Options.value1;
var value2 = Options.value2;
}
});