Js nodeType 属性全面解析

时间:2013-11-14    点击:130   

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

探讨js中的双感叹号判断
js时间戳格式化成日期格式的多种方法
JavaScript中判断对象类型的几种方法总结
在页面中js获取光标/鼠标的坐标及光标的像素坐标
浅析用prototype定义自己的方法
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved