Hi
I've got about 40 check-boxes on my 1 form. These check-boxes all have names (obviously) but they are NOT all unique names. The number of UNIQUE names on my form is probably around 8 or 9 (the actual number is NOT important). Because some check-boxes use the same names as other. It's set up this way, please don't ask me to change it, I can't change it.
What's the syntax/method for looping through all the names? I was thinking I should do maybe a "for" loop;
But I don't know how to hold a variable of the unique names to start with. Can someone help please?
I've got about 40 check-boxes on my 1 form. These check-boxes all have names (obviously) but they are NOT all unique names. The number of UNIQUE names on my form is probably around 8 or 9 (the actual number is NOT important). Because some check-boxes use the same names as other. It's set up this way, please don't ask me to change it, I can't change it.
What's the syntax/method for looping through all the names? I was thinking I should do maybe a "for" loop;
Code:
for (var i = 0; i < fieldName.length; i++)
Comment