appendChild()方法

141 阅读1分钟

appendChild()方法

1.appendChild() 方法可向节点的子节点列表的末尾添加新的子节点。

2.appendChild() 方法从一个元素向另一个元素移动元素