wood burning stoves 2.0
The moose likes Beginning Java and the fly likes create dynamic checkboxes! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

create dynamic checkboxes!

Gopu Akraju
Ranch Hand

Joined: Jan 13, 2008
Posts: 242
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

Joined: Mar 02, 2005
Posts: 445


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

Joined: Mar 22, 2005
Posts: 42958
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: create dynamic checkboxes!
jQuery in Action, 3rd edition