title: Jquery UI button on items added after page load
body: <p>i have the jquery ui button widget working w/ the following code.  </p>
  
  <pre><code> $(.remove_img).button({
    icons: {
     primary: 'ui-icon-cancel'
    }
    });
  </code></pre>
  
  <p>but if there isn't an image in place, on upload, i am appending a button with class .remove_img, so it isn't in the DOM on page load.  is there a way to get it so that the added button will still trigger the same .button code?</p>
  
  <p>i tried</p>
  
  <pre><code>$('.remove_img').live('click', function(event){
   $(this).button({
    icons: {
     primary: 'ui-icon-cancel'
    }
    });
   });
  </code></pre>
  
  <p>but it didn't get me anywhere.  </p>