What is the purpose of the adoptNode() method?
A
Removes node
B
Makes it ready for insertion
C
Removes node and Makes it ready for insertion
D
Changes the node
Correct Answer: Removes node and Makes it ready for insertion
This method removes the node from whatever document it is currently part of and changes its ownerDocument property to this document, making it ready for insertion into this document. The adoptNode() method adopts a node from another document. The adopted node can be of all node types.