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