This code does'nt show me the content which is present in an array
<input id="filesid" type="file" name="name" multiple="multiple"/>
<h2 id="show"></h2>
<button id="upload">Upload</button>
Script used to display the name of file through array
<script>
$('#upload').on('click', function() {
var filename=[];
$("#show").each(function(){
filename.push($(this).(files.name));
});
alert(filename);
});
</script>