title: Jquery - Perform callback after append
body: <p>I am appending content to a list using:</p>
  
  <pre><code>  $('a.ui-icon-cart').click(function(){
           $(this).closest('li').clone().appendTo('#cart ul');
    });
  </code></pre>
  
  <p>I want to perform further functions to the appended content (change class, apply animations etc)</p>
  
  <p>How can I perform a callback on this function that will allow me to perform functions on the appended data?</p>