获得body的元素节点属性
document.body.nodeType//返回1
如果节点是元素节点,则nodeType属性返回1
如果节点是属性节点,则nodeType睡醒返回2
nodeTypes



获得body的元素节点属性
document.body.nodeType//返回1
如果节点是元素节点,则nodeType属性返回1
如果节点是属性节点,则nodeType睡醒返回2
本文标题:HTML DOM nodeType属性
本文链接:https://www.haomeiwen.com/subject/afuyottx.html
网友评论