A lot of novice friends of append and appendto differences and JS appendchild usage has blurred, below for example for everyone in detail, interested friends don't missAppend () is preceded by the object to be selected, followed by the element content to be inserted within the object Appendto () before the element content to insert and the jquery object, followed by the object instance to select: $ (' #a '). Append (' content '); $ (' <div>content</div> '). Appendto ($ (' #a ')); Note that appendto must be a jquery object before. AppendChild (node) This method is typically to add a node after the last child of the specified element node but if node is a DOM object on the page, then it is either the addition of nodes or the direct move node. AppendChild you can understand to move an element. If you want to copy a past, clone it beforehand.