Answers for "read file from input type file"

9

file input file types

<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
Posted by: Guest on May-05-2020
0

js get file from input

<input type="file" onchange="getFiles(event)" />
<script type="text/javascript">
	function getFiles(event) {
    	console.log(event.target.files)
    }
</script>
Posted by: Guest on February-21-2022

Code answers related to "read file from input type file"

Browse Popular Code Answers by Language