JSP Check All

Hi. I have the question on how to handle the 'check all' function
I have a list (large list) of checkboxex. List is build using ...
At the header of the check box column I need to have one check box, such that if clicked, it will make all the checkboxes to bcome checked or unchecked. The code I am working with used the
for every checkbox, however now I had to abandon that due to other features in the program. I have to construct checkbox with the struts where I am iterating through a ist of DTOs converting the list into array (on a backend using list.toArray()) function.
Anyway, the name of each checkbox is constructed in the following way:

Any help is very much appreciated
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!