This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
    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: 42968
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