11-1-2019 16:35:37
You may want to use the appendTo function (which adds to the end of the element):
$("#source").appendTo("#destination");
Alternatively you could use the prependTo function (which adds to the beginning of the element):
$("#source").prependTo("#destination");
https://stackoverflow.com/questions/1279957/how-to-move-an-element-into-another-element