Hi,
Laut Dokumentation http://de.selfhtml.org/javascript/objekte/node.htm#child_nodes_whitespace behandelt der Internet Explorer unter Windows Zeilenumbrüche und Kommentare ebenfalls als Kindknoten, während beispielsweise Firefox diese ignoriert.
Noe, andersherum.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“