Browser: IE5+
I have a form with an unknown number of checkboxes (the page is generated
by a server-side script). I need to loop through those checkboxes, test
whether the name of each checkbox starts with a known string and, if it
does, clear that checkbox.
I've tried just about everything that I can think of, but to no avail.
Can someone tell me how to loop through the checkboxes of a form?
TIA,
--
Geoff Lane
Cornwall, UK
I have a form with an unknown number of checkboxes (the page is generated
by a server-side script). I need to loop through those checkboxes, test
whether the name of each checkbox starts with a known string and, if it
does, clear that checkbox.
I've tried just about everything that I can think of, but to no avail.
Can someone tell me how to loop through the checkboxes of a form?
TIA,
--
Geoff Lane
Cornwall, UK
Comment