Passing parameters between pages (Multi-Page Model)

jQuery Mobile’s .changePage() (1.3) / .pagecontainer() (1.4) offers data exchange between pages but only on Single Page Model, where URL is used and not a #page id.

A possible solution for this, is to use localstorage. However, it is worth mentioning that not all browsers support localstorage and some users have complained its’ slowness.

If you have been struggling to find a clean yet fast way to transfer/pass parameter between pages in Multi-Page Model, here is the way I do it.

Continue reading

Advertisements