jQuery append and clone

I was trying to append some part of the DOM to some other element of the page.<div id='container'> <ul class='contacts_list'> </ul> </div> ... <div id='updated_contacts'> </div> On a click event, i wanted to…