网络编程
位置:首页>> 网络编程>> JavaScript>> Js nodeType 属性全面解析

Js nodeType 属性全面解析

  发布时间:2024-04-16 09:53:30 

标签:Js,nodeType

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

语法:
elementNode.nodeType

节点编号:节点名称:
1Element
2Attribute
3Text
4CDATA Section
5Entity Reference
6Entity
7Processing Instrucion
8Comment
9Document
10Document Type
11Document Fragment
12Notation

0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com