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