move an element over another jquery code example
Example 1: how to move div using jquery
$('#destination').append( $('#source') );
Example 2: move an element into another jquery
$('#source').appendTo('#destination');
$('#destination').append( $('#source') );
$('#source').appendTo('#destination');