how to get file names from input type file in html 5 using javascript or jquery
<p>below is my simple code using HTML 5 multiple file upload. All i need is to grab all the file names not the paths below is simple javascript code </p>

<pre><code>  function getFileNames()
        {
            var path = $('#files').val();
            console.log(' path = ' + path);
        }
</code></pre>

<p>and html form is as </p>

<pre><code>&lt;form action='server.php' method='post' enctype='multipart/form-data' target="iframe"&gt;
                &lt;input id="files" name='files[]' type='file' multiple&gt;
                &lt;input type='button' onclick="getFileNames()"&gt;
&lt;/form&gt;
</code></pre>

<p>when i press the button the console output is as </p>

<p>path = Chrysanthemum.jpg</p>

<p>which is the first name of the file and i want the remaining names , any suggestions , comments are appreciated. 
thanks. </p>
