jQuery - clone()

clone() will copy selected elements and insert them at the end of the <body> or any other document element.

 

I am unique.

 

 


$(document).ready(function ()
{
    $("#btnClone").click(function ()
    {
        $("#demo1").clone().appendTo("#demo-container");
    });
});