The cloneNode() method does this and accepts a Boolean parameter (true = deep copy with all the children, false = shallow copy, only this node).
確定! 回上一頁