I have a checkbox list (itemGroup) that is generated from a database following the excellent tutorials on the website. The text is displayed via a label (itemList).
I have a button that when activated collects the value of the checked boxes using this code:
$("input[type=checkbox]:checked").each(function() {
selected.push($(this).val());
});
This works an builds an array
I am now trying to return the value of other (non-visible) labels within the check box that have been returned from the database - essentially following the instructions used for the list item in this tutorial (the data is there - when I tick visible it works)
http://docs.appery.io/tutorials/build...
How do I obtain this information?
I have tried collecting this information in the loop above by constructing a second array that contains
Appery('consent').text());
(where consent is the name of the label). However it only returns the value of 'consent' from the first entry that was retrieved from the database. Any help in collecting this information would be appreciated.