The difference between the append of jquery and Appendto
Append () is preceded by the object to be selected, followed by the element content to be inserted inside the object
AppendTo () is preceded by the content of the element to be inserted and is a jquery object , followed by the object to be selected
Instance:
$ (' #a '). Append (' content '); $ (
Note that appendto must be a jquery object in front.
AppendChild (node) This method typically adds a node after the last child node of the specified element node
But if node is the DOM object in the page, then it is not the node that is added, it is the direct move node.
The usage of appendchild in JS
AppendChild you can understand to move an element. If you want to copy a past, clone it beforehand
Turn:
XIDIANDJ's Column The Append of jquery and Appendto, and the appendchild usage in JS
The difference between the append of jquery and Appendto, and the appendchild usage in JS