Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to get input file using js

const selectedFile = document.getElementById('input').files[0];
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #How #input #file #js
ADD COMMENT
Topic
Name
9+2 =