how to make a elemnt to shift from one element to another 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');