Hallo Michael.
<td><input type="text" name="bla" value="dingsbums"></td>
Wie gehe ich da am dümmsten vor?
Ich vermute mit createElement() und createAttribute(),
Ersteres ist richtig, zweiters unnötig und im IE nicht einmal erfolgreich; du kannst dem per createElement neu erzeugten input-Element die jeweiligen Werte für seine Eigenschaften *direkt* zuweisen.
aber wie kriege ich dann den Original-Inhalt überschrieben?
appendChild hängt ja nur an, oder?
Siehe wahsaga.
Einen schönen Donnerstag 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]