Page 1 of 1

How can I pass variable on Appery.navigateTo

Posted: Sun Jan 19, 2014 10:51 am
by Tom6106181

Hi.
I am wondering about the best approach to pass a variable when using
Appery.navigateTo('page');

I have a list of items, where -li class="item-item" rel="object_id"-

onclick ".item-item" = Appery.navigateTo('ViewItemPage');

I want to pass the "object_id" to "ViewItemPage", to "READ" the item data from DB and display it on the page.

Thanks!
-Tom


How can I pass variable on Appery.navigateTo

Posted: Sun Jan 19, 2014 12:08 pm
by Illya Stepanov

Hi Tom,

Most common approach in this case is to use localStorage.