Hallo Andreas,
while(x < document.getElementsByName["abc"][x])
getElementsByName ist eine Funktion, die ein Array liefert. Also sollte die Schleife so aussehen:
for (var i=0; i<document.getElementsByName("abc").length; i++) {
...
}
Grüße
Andreas
--
As Einstein once said during a Thanksgiving food fight, "It's all relatives."
As Einstein once said during a Thanksgiving food fight, "It's all relatives."