title: Jquery display one or multiple file names when file(s) are selected
body: <p>I'm trying to display one or multiple file names before a user submits the files, but as of now I can only display one file name rather than multiple file names if a user decides to select multiple files.</p>
  
  <p>Jquery</p>
  
  <pre><code>$(function() {
   $('input:file').change(function(){
       var fileName = $(this).val();
       $('.filenames').html('&lt;div class="name"&gt;' + fileName + '&lt;/div&gt;');
   });
  });
  </code></pre>