获取dom节点的父节点

获取dom节点的父节点

 

节点:div1

div1的父节点:div1.parentNode

posted @ 2021-06-23 14:36  baixinL  阅读(349)  评论(0)    收藏  举报