Search found 136 matches

Go to advanced search

by Takis
Sat Nov 22, 2014 8:08 pm
Forum: Issues
Topic: Grid with labels, loop to get the values
Replies: 8
Views: 914
 
Jump to post

Grid with labels, loop to get the values

In one page, I am trying to get all the checkboxes that I created dynamically, that are checked and get its values. I got up to this point of code code var items = jQuery('[name="mobilecheckbox_157"]'); alert ( "how many chbx:" + jQuery('[name="mobilecheckbox_157"]')&am...
by Takis
Sat Nov 22, 2014 5:22 pm
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

Well looks not so complex, I just do not know yet the proper code.
I need to iterate in each collpasbleset, iterate through checkboxes, then move to next collapasbleset and do the same...

by Takis
Fri Nov 21, 2014 10:34 am
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

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("m...
by Takis
Thu Nov 20, 2014 8:32 am
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

Do I have to do something to see the console log?

I used alert and I get "checked items =0"

I does not seem to go in to the code of "mobilecheckboxgroup.each(function(){"

by Takis
Wed Nov 19, 2014 8:28 pm
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

The construct I have is like this "Settings mobilecontainer / mobilegrid_130/ mobilegridcell_131 /mobilecollapsblock_135 / mobilecollapsblockcontent_137 / mobilegrid_138 /mobilegridcell_139 / mobilecheckboxgroup_143/ mobilecheckbox_144" and I am trying to iterate and collect all the checkb...
by Takis
Wed Nov 19, 2014 7:21 pm
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

EXACTLY it works!
Many thanks!

For the benefit of others, code used in the mapping of second level grid (checkboxes)
code
var stringValue = String(value).trim().split("@");
if (stringValue[1] == "false") {
element.hide();
}
/code

by Takis
Wed Nov 19, 2014 9:42 am
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

I have a grid, to put first level of collabsibleset
and then another grid inside the content arear of collapsibleset, where I put the checkbox.

You have same configuration?

Thanks.

by Takis
Wed Nov 19, 2014 8:10 am
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

The space appear for the item that value of Visible is false. Do you have similar links as mine, shown in mine previous screenshot? Do you have items that you set somehow dynamically the Visible to false I take the value of visible as you proposed code var stringValue = String(value).trim()&...
by Takis
Tue Nov 18, 2014 2:59 pm
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

Or how can I prevent item that has "@false" not to be initially returned from the query?

Image

by Takis
Tue Nov 18, 2014 9:45 am
Forum: Issues
Topic: Sub menu of check boxes
Replies: 26
Views: 3089
 
Jump to post

Sub menu of check boxes

many thanks! got it. By this approach I have the below spaces problem https://d2r1vs3d9006ap.cloudfront.net/s3_images/1121661/spaces_inline.gif?1416303750 Can this be fixed, no to have spaces between? The spaces appear when there is false in the array, like "Food2@false" How I can prevent ...

Go to advanced search