易网时代-编程资源站
Welcome
微信登录
首页
/
脚本样式
/
JavaScript
/
Js nodeType 属性全面解析
定义和用法
nodeType 属性返回被选节点的节点类型。
语法:
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
版权所有©石家庄振强科技有限公司2024
冀ICP备08103738号-5
网站地图