Hi i want to save the array of an input type file.
<input type="file" id="fuGerber" onchange="saveFiles(this.files)" multiple />
I already tried this:
localStorage.setItem('files',JSON.stringify(files));
OR this:
localStorage.setItem('files',JSON.stringify(files[0]));
but JSON.stringify returns empty "{}" or this in the second case "{"0":{}}" Does any one knows something to save it without lose nothing inside of the array.
This is what my array have: