A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

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

The ID of those objects in the database.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

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

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

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

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

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

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

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

Fixed for now.

Return to “Issues”