Search found 6 matches

Go to advanced search

by TN
Thu Jul 11, 2013 1:25 am
Forum: Issues
Topic: label text not escaped when using Set Local storage variable action
Replies: 8
Views: 648
 
Jump to post

label text not escaped when using Set Local storage variable action

I used the following JS code as a workaround: codelocalStorage.szSkuLookup = $(this).closest("[name=mobilegrid_121]").find('[name=SkuLabel]').text();/code Not sure why the built-in click event for set variable action did not return the correct string. Could ...
by TN
Wed Jul 10, 2013 11:50 pm
Forum: Issues
Topic: label text not escaped when using Set Local storage variable action
Replies: 8
Views: 648
 
Jump to post

label text not escaped when using Set Local storage variable action

Hello Katya, I'm not sure I understand what value I'm meant to use. I tried doing: code var n = Appery('SkuLabel'); localStorage.setItem("szSkuLookup", n.text() ); alert (localStorage.getItem('szSkuLookup')); /code The thing is my actual screen has a label within a ...
by TN
Wed Jul 10, 2013 5:51 am
Forum: Issues
Topic: label text not escaped when using Set Local storage variable action
Replies: 8
Views: 648
 
Jump to post

label text not escaped when using Set Local storage variable action

I created a test screen with a label containing text "B&G" and a button that when pressed, grabs the label text, sets a 'test' variable (using Set local storage variable action) and displays using alert (localStorage.getItem('test')); The text stored in the variable returns 'B & am...

Go to advanced search