move element in jquery 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') );