DOM Node对象 replaceChild() 方法用于将旧子节点替换为新节点。 它将返回替换的节点。 语法. 以下是 replaceChild() 方法的使用语法。 nodeObject.
確定! 回上一頁