Page 1 of 1

Accessing list item text value by javascript

Posted: Mon Aug 27, 2012 9:27 pm
by Bernie

How can I access the list item text of a manually filled List.
I want to use the text value to pass to the next screen with a tab-event

Filled the list with the following code:
list.append("lia rel="nofollow"" + layername + "/a/li").listview("refresh");


Accessing list item text value by javascript

Posted: Mon Aug 27, 2012 11:09 pm
by maxkatz

Are you going to be clicking on list item or a tab (in the header or footer)?


Accessing list item text value by javascript

Posted: Mon Aug 27, 2012 11:56 pm
by Bernie

on the list item


Accessing list item text value by javascript

Posted: Tue Aug 28, 2012 12:04 am
by maxkatz

These tutorials show how to do that:

http://help.tiggzi.com/getting-starte...

http://help.tiggzi.com/getting-starte...

http://help.tiggzi.com/getting-starte...

You place a label inside the list. Make it hidden. On click, save the value into local storage and read it from local storage on next page.