Hi in my application i am navigating from one div to another div using the below code,
$.mobile.navigate( "#formsEnterId", { info: "info about the #formsEnterIdhash" });
$("#formsEnterId").on('pagebeforeshow', function (event, data) {
console.log("Entered page before show::",data); //How to fetch the info here??
});
In the pagebeforeshow event i want to fetch the info attribute.I don't know how to fetch the info attribute.But the page navigation is successful.
Also i used $.mobile.changepage but no luck.
Please someone assist me to get the info attribute in pagebeforeShow event. I already saw the related answers posted in Pass parameter between pages using jquery mobile
But that doesn't solve my problem because my page navigate script and pagebeforeshow event are under different closures.