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