title: jQuery remove elements one by one
body: <p>I try to do upload sistem and use Uploadify. I have onComplete function where apend images and remove buttons. Every image have own remove button, but I can't make it to remove just its image. Please help here is the code what I have. Thanks.</p>
  
  <pre><code>enter code here
  'onComplete'  : function(event, ID, fileObj, response, data) {
  
      $('#inner2').append('&lt;img id="img" src="'+fileObj.filePath+'" width="100" height="100" /&gt;&lt;div id="remove-btn" &gt;&lt;span&gt;Remove Image&lt;/span&gt;&lt;/div&gt;');
  
      $("#remove-btn").live('click',function() {
  
          $(this).parent().remove();
  
      });
  
  }
  </code></pre>