Forum Moderators: open
The form is posted through another page where it is dealt with using ASP, and so the checkboxes are all named the same so that this script can work.
Therefore I have used the id attribute to name them uniquely so that the javascript can access them individually. So, checkboxes take the form:
<input type="checkbox" name="samename" id="unique_1">
<input type="checkbox" name="samename" id="unique_2">
In IE, Opera and NS6 I can reference the checkboxes using:
document.formname.elements['unique_1']
However, in NS4, the browser seems to have no idea about the ID tags. Do I simply have to call them in a different way, or is this impossible? I really hope not, becasue otherwise I'm stuffed, as changing the names of the checkboxes will break the ASP application...
It's not just a case of numbering them 1, 2, 3... either. The layout has multiple two dimensional matrices, so the numbering needs to be more like 'ID_1_0_1_3'. This is why accessing them correctly through the array reference is tricky.
[xs4all.nl...]