posted 13 years ago
Hi,
i'm using struts2 checkbox for selecting of items.I'm using iterator to populate items.And uses the checkbox name to find the length(number of the items).
I do that in the javascript.
Everything went okay but when i have only one item in the list the checkboxname.length doesn't return a value.
Can anyone Please help.
How can i do when the list has only one item?
Thanks,
devan