move a <li> element from one div to another javascript DOM code example Example: move an element into another jquery $('#source').appendTo('#destination');