Created
July 15, 2022 16:20
-
-
Save Octagon-simon/0d31574919e494cb23aca586051ff425 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //retrieve file input element | |
| const fileInp = document.querySelector('#inp_file'); | |
| //retrieve file | |
| const fileInpFiles = fileInp.files | |
| //log result | |
| console.log(fileInpFiles); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment