Page 2 of 2

When I click a list item how can I get the item info?

Posted: Sun Aug 02, 2015 9:25 pm
by A.W.H.

The ID of those objects in the database.


When I click a list item how can I get the item info?

Posted: Mon Aug 03, 2015 11:13 am
by Serhii Kulibaba

Hello Ave,

You can get all data from the item via JS. E.g. get text from the label "id_label":
1) add handler on "click" event of the list item
2) var id_label = $(this).find("[name=id_label]").text();

just change "id_label" to the any hidden label


When I click a list item how can I get the item info?

Posted: Wed Aug 05, 2015 12:33 am
by A.W.H.

Thanks!


When I click a list item how can I get the item info?

Posted: Wed Aug 05, 2015 8:46 pm
by A.W.H.

Unfortunately, this isn't working properly. I need this to work properly.

http://appery.io/app/view/759808b6-f3...

If I click on one item, and close it, then click another item, I expect the id_label values to change between items. But the id_label stays the same as the first item clicked. Why?

Image Image


When I click a list item how can I get the item info?

Posted: Wed Aug 05, 2015 8:58 pm
by A.W.H.

Fixed for now.