Well, I now simplified my structure, no grids.
Is like this now
Settings mobilecontainer/ mobilecollapsibleset_146 /mobilecollapsblock_147 /mobilecollapsblockcontent_149 / mobilecheckboxgroup_156 /mobilecheckbox_157
I use the code:
code
var index;
var text;
var mobilecheckboxgroup = Apperyio("mobilecheckboxgroup_156").find(":checked");
//console.log("checked items = " + mobilecheckboxgroup.length);
alert ("checked items = " + mobilecheckboxgroup.length);
var arr1 = [];
mobilecheckboxgroup.each(function(){
arr1.push($(this).attr("value"));
//console.log("added checkbox with value: " + $(this).attr("value"));
});
//console.log(arr1);
alert ("156-----" + arr1);
/code
put i get in the alert, the checked checkboxes from only the group which is "Food".
"checked items=1" (the one that I checked in Food)
I have also checked one under "Drink", but does not find it.