damon2003
11-13-2003, 08:18 AM
HI,
I have a script that produces varying number of checkboxes depending on what the user does. They are called checkbox1 , checkbox2, checkbox3 and so on
I want to make sure that at least one of these is checked. So as I do not know the total no, I am thinking that I will have to first of all count the number of checkboxes on the page. How can I count the number of checkboxes on the page,
thanks a lot
I have a script that produces varying number of checkboxes depending on what the user does. They are called checkbox1 , checkbox2, checkbox3 and so on
I want to make sure that at least one of these is checked. So as I do not know the total no, I am thinking that I will have to first of all count the number of checkboxes on the page. How can I count the number of checkboxes on the page,
thanks a lot