title: How duplicate file input after selecting a file ( .change() )
body: <p>Trying to create an input field for file uploads .. I want when the user selects a file , the file input field gets duplicated with a new empty one</p>
  
  <p>what I used was something like this</p>
  
  <pre><code>&lt;form&gt;
  &lt;input type='file' class='addImage' /&gt;
  &lt;/form&gt;
  
  
  $(function(){ 
          $('.addImage').change(function(){
              $("&lt;input type='file' class='addImage' /&gt;").appendTo('form');
          });
      });
  </code></pre>
  
  <p>See it live here <a href="http://jsfiddle.net/R5QSy/1/" rel="nofollow">http://jsfiddle.net/R5QSy/1/</a></p>
  
  <p>It works and display only another single file input duplicate .. if I select a file from the new generated input, no more duplication occurs ! how can I make the duplication process unlimited ? thanks</p>