日期:2014-05-16  浏览次数:20606 次

dom --nodetype属性
nodeType 属性返回节点的类型。


元素类型             NodeType
元素Element                    1
属性Attribute                    2
文本Text                            3
注释Comment                  8
文档Document                 9