Hi,
optGrps[k].appendChild = new Option("Test1", "Test1", true, true);
Wie kommst Du auf die Idee, es könnte sinnvoll sein, den Rückgabewert bei der Erstellung einer neuen Option als Eigenschaft an ein Objekt anzuhängen, anstatt einfach die Methode http://de.selfhtml.org/javascript/objekte/node.htm#append_child@title=appendChild() aufzurufen?
Du benutzt die o.g. Methode nicht (korrekt) - siehe Beispiel.
Autsch, das war mir gar nicht aufgefallen ...
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.