kath — 2014-06-08T18:08:07-04:00 — #1
On my form I have an array of checkboxes
I don't seem to be getting anywhere with my code.
var chk_arr = document.getElementsByName("Selected1");
for (iCount=0; iCount < 3; iCount++)
if (chk_arr[iCheckboxNum].checked == 1)
alert ("do something here");
paul_wilkins — 2014-06-09T02:35:47-04:00 — #2
Are you wanting only one checkbox to be active at a time? Because if so - radio buttons are the best interface for that type of situation.
If your situation is different though, can we get some details about what you are wanting to achieve with the checkboxes?