Hallo Maik.
Da ich nicht recht weiß, wofür das 'myOptions = weg-zu-selectbox2;' gut ist, steh ich ein bißchen auf dem Schlauch...
Ich schätze, dass du an dieser Stelle eine Referenz zum select-Element notieren sollst.
Dies kann, wenn sich das select-Element innerhalb eines Formulares befindet, über die document.http://de.selfhtml.org/javascript/objekte/forms.htm#allgemeines@title=forms.http://de.selfhtml.org/javascript/objekte/elements.htm@title=elements-Kollektion geschehen, oder aber wie gewohnt über document.http://de.selfhtml.org/javascript/objekte/document.htm#get_elements_by_tag_name@title=getElementsByTagName.
Einen schönen Dienstag noch.
Gruß, Ashura
--
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]