I have two pages, A and B. I have added a button to page A that opens page B as a dialog using the following code:
- .mobile.changePage("B.html", {role: "dialog"});
How can I pass data to page B and get data from it?
Note: the pages ARE NOT contained in a multipage document. There are separate HTML files.