Home > Web Front-end > JS Tutorial > Comprehensive analysis of Js nodeType attributes_javascript skills

Comprehensive analysis of Js nodeType attributes_javascript skills

WBOY
Release: 2016-05-16 17:15:33
Original
1286 people have browsed it

定义和用法
nodeType 属性返回被选节点的节点类型。

Grammar:
elementNode.nodeType

节点编号: 节点名称:
1 Element
2 Attribute
3 Text
4 CDATA Section
5 Entity Reference
6 Entity
7 Processing Instrucion
8 Comment
9 Document
10 Document Type
11 Document Fragment
12 Notation
Related labels:
js
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template