问答详情
源自:9-15 替换元素节点replaceChild()

oldnode.parentNode.replaceChild(newnode,oldnode);
这几个函数都是先找到其父节点再使用

提问者:luckymore 2014-10-19 11:39

个回答