Hi,
Weil es noch kein Element mit der ID test gibt zu dem Zeitpunkt, wo du versuchst darauf zuzugreifen.
Ah, ok. Danke schön. Dann muss ich also alle JS-Sachen hinter den <body>-Tag schreiben?
Nein - sondern zu dem zurueckkehren, mit dem du angefangen hast: window.onload
MfG ChrisB
--
"The Internet: Technological marvel of marvels - but if you don't know *what* you're lookin' for on the Internet, it is nothing but a time-sucking vortex from hell."
"The Internet: Technological marvel of marvels - but if you don't know *what* you're lookin' for on the Internet, it is nothing but a time-sucking vortex from hell."