jquery foreach element with class clone to other element code example Example: jquery clone $( ".hello" ).clone().appendTo( ".goodbye" );