Js nodeType 属性全面解析_Javascript教程-查字典教程网
Js nodeType 属性全面解析
Js nodeType 属性全面解析
发布时间:2016-12-30 来源:查字典编辑
摘要:定义和用法nodeType属性返回被选节点的节点类型。语法:elementNode.nodeType节点编号:节点名称:1Element2A...

定义和用法

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

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新Javascript教程学习
    热门Javascript教程学习
    编程开发子分类