Hallo steffen.
Scheinst wohl auch keine Anung zu haben, wieso der Wert nicht übergeben wird?
Ehrlich gesagt blicke ich in deinem Code–Wirrwarr kaum durch.
Was mir jedoch auffällt, ist folgendes:
document.getElementById("item1")[…]
Ein Element mit der ID „item1“ gibt es im Dokument nicht.
Einen schönen Freitag noch.
Gruß, Mathias
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]