I’m using jQuery mobile and am launching a dialog like so:
$.mobile.changePage('#someDiv', { role: 'dialog', params: callbackFunction });
I’m listening for the event, and I’d like to be able to gain access to the params defined above, but can’t figure out how to access it from the following:
$('#someDiv').on('pageshow', function(evt){
//hmm... how to access the role or params values above?
});
Thanks,
Andy
I guess you can just simply use
datato store params like:and