onclick clone tab in jquery code example Example: jquery clone $( ".hello" ).clone().appendTo( ".goodbye" );