title: Add html input boxes to a div on click using jquery
body: <p>I need to add input boxes to a page onclick of a button, I have written the following jquery script. It adds one input box when clicked the first time but does not repeat adding.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
     function addInput(){
        $('#fileinput').html('&lt;label&gt;Filename:&lt;/label&gt;
                          &lt;input type="file" name="file"  id="file" /&gt;');
     }
  &lt;/script&gt;
  </code></pre>
  
  <p>can some one please help me to modify the code so that it will add an input box each time the button is clicked.</p>