javascript move element from one div to another selection 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');