Andreas Schneider: Formobjekt über variablen adressieren

Beitrag lesen

Hallo Stefan,

function Switch(x,index) {document.form_nvoASwitch[index].NVL_nvoASwitch[index].value = x + ".0 1";document.form_nvoASwitch[index].submit();}

z.B. so:
document.forms["form_nvoASwitch" + index].elements["NVL_nvoASwitch" + index].value

Grüße
Andreas

--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)