Bookmark Topic Watch Topic
  • New Topic

create dynamic checkboxes!

 
Gopu Akraju
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I am trying to create dynamic checkboxes as below. It works. But how do I check the status of each checkboxes. My exact doubt is how do I refer to dynamically created checkboxes. Please see my code below: I want to modify so that I can refer to each dynamically created checkboxes.
 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

Why dont you save the references in a List inside the loop where you are creating the individual check boxes?

Does this answer your query?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
 
    Bookmark Topic Watch Topic
  • New Topic