neuronhighway9522
Posts: 0
Joined: Sun Oct 19, 2014 2:42 am

Newbie needs just a little help with label

Hi Im using page show to set a value from storage to a label . I want to add a word in front of the value returned so I added another event for the label using the value change and javascript in the design tab ---
return 'word' + value;
that didnt work

so what is a the correct way to do this?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Newbie needs just a little help with label

Hello,

Use this code on Page show event:

preApperyio("label").text("word"+" "+ localStorage.getItem("LSVname"));/pre

where LSVname - name of your localStorage variable
label - name of label component.

Return to “Issues”