Hi,
Du solltest eine Fehlermeldung in der JavaScript-Konsole deines Browsers erhalten, weil das Element, auf welches du zugreifen willst, zu dem Zeitpunkt noch nicht existiert.
Huch, falscher Dampfer - dass du bereits onload nutzt, hatte ich erst nach Hans' Hinweis gesehen.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“