Właściwość nodeType w DOM

Właściwość nodeType jest tylko do odczytu i zwraca typ węzła.

Dostępne typy wezłów:

  • Document,
  • DocumentFragment,
  • DocumentType,
  • Element,
  • Attr,
  • Text,
  • CDATASection,
  • Comment,
  • Entity,
  • Notation
  • EntityReference,
  • ProcessingInstruction.
Komentarze facebook (polub nasz profil na FB aby je zobaczyć):