In my application i have a form with some fields and an input file
field, and once the user upload a zip file
i want to get the names of files that are contained in this zip file
.
This is the form:
<input type="text" name="code" value="CodeValue">
<input type="text" name="Comment" value="commentValue">
<input type="file" name="zipFile" value="zipValue" accept="application/zip"
onchange="getzipFilesNames();" id="file-input">
<script>
function getzipFilesNames() {
}
</script>
I don't need to extract the files, i only need their names. How can i do this using javascript ?