Ashura: nodeValue vs. innerHTML

Beitrag lesen

Hallo JürgenB.

Den Unterschied zwischen firstChild.nodeValue und firstChild.data kannst du im Selfhtml nachlesen.

Und der da wäre? Bis auf die Tatsache, dass sich die data-Eigenschaft in keiner DOM-Spezifikation (weder Level 1 noch Level 2 noch Level3) finden lässt, ist sie funktional mit der nodeValue-Eigenschaft identisch.

Oder weißt du mehr?

Einen schönen Freitag 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]