I have an input="file" that allows me to select multiple files. I'd like to have each of the files, without the extension, show in a new table row in an html table I have created.
I have the following code which allows me to find the filenames of the files selected in the input="file".
<script type="text/javascript">
$(document).ready(function(){
$('input[type="file"]').change(function(e){
var files = $('#fileholder').prop("files")
var names = $.map(files, function(val) { return val.name; });
alert(names);
});
});
</script>
Please keep in mind I am a beginner in jQuery but may understand most of the code.