javascript move an element from one location to another code example Example: move an element into another jquery $('#source').appendTo('#destination');