Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

How can I pass variable on Appery.navigateTo

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How can I pass variable on Appery.navigateTo

Hi Tom,

Most common approach in this case is to use localStorage.

Return to “Issues”