The cloneNode MethodThe cloneNode method copies the current node and returns a new object reference to the copy. You also can pass a Boolean, deep , that you set to true if you want all the node's child nodes to be copied as well; setting it false means only the node itself will be copied . You can see the support for this method in Table 6.13. Table 6.13. The cloneNode Method
|