Js nodeType 属性全面解析

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

Js nodeType 属性全面解析

  2020-05-13 我要评论

定义和用法
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

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们