jquery move permanently a html element in the dom code example
Example 1: jquery move element
$("#source").appendTo("#destination");
Example 2: jquery move element to another without losing events
$('#element_to_move').appendTo('#PARENT_at_destination');