Hi,
Kann mir jemand sagen, warum das nicht geht?
Weil es das Element, auf welches du zugreifen willst, zu dem Zeitpunkt noch gar nicht gibt.
Warte onload ab, oder setze das Script hinter das Element.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“