node属性 认识node的方法 1.dom.nodeChildrens 用于获取dom下的子元素节点 2.dom.nodeType 用于获取dom节点的属性。共有12种属性,实用属性3种。 元素节点=》1 属性节点=》2 文本节点=》3 3.nodeValue 获取文本节点的内容。 posted on 2017-02-20 20:54 Viven张 阅读( ...) 评论( ...) 编辑 收藏 转载于:https://www.cnblogs.com/vivenZ/p/6421422.html