LoadSaveFile.js

This commit is contained in:
ReznoRMichael 2021-01-20 00:41:42 +01:00
commit a5fc930850
2 changed files with 11 additions and 1 deletions

6
js/LoadSaveFile.js Normal file
View file

@ -0,0 +1,6 @@
function ShowFile(input) {
let inputFile = input.files[0];
alert(`File name: ${inputFile.name}`);
alert(`Last modified: ${inputFile.lastModified}`)
}