Andreas Schneider: document.bildname + einer Variablen ???

Beitrag lesen

Hallo Homer,

window.document.bildname+variable.src=pic.src;
so soll z.B. das Bild mit dem Namen "bildname1" angesprochen werden.

document.images["bildname" + variable].src = pic.src

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)