title: How to get file name of files by using each loop in jquery
body: <p><em>This code does'nt show me the content which is present in an array</em></p>
  
  <pre><code>&lt;input id="filesid" type="file" name="name"  multiple="multiple"/&gt;
      &lt;h2 id="show"&gt;&lt;/h2&gt;
      &lt;button id="upload"&gt;Upload&lt;/button&gt;
  </code></pre>
  
  <blockquote>
    <p>Script used to display the name of file through array</p>
  </blockquote>
  
  <pre><code>    &lt;script&gt;
          $('#upload').on('click', function() {
              var filename=[];
  
              $("#show").each(function(){
                  filename.push($(this).(files.name));
              });               
  
              alert(filename);                 
  
          });
      &lt;/script&gt;
  </code></pre>