how to transfer a div to anothre html using javascript code example Example: jquery move element $("#source").appendTo("#destination");