How can I convert multiple files at once in JavaScript (local files)?
问题 I have created a converter that takes in a SVG file and gives me a text file as output, with some modifications. How can I modify this to apply to a batch of files? I have tried to use multiple="multiple", but when I choose input, it doesn't give me an option to select multiple files. document.getElementById("fileReader").addEventListener('change', function() { var filePath = document.getElementById("fileReader").value; var fileName = filePath.substring(filePath.lastIndexOf("\\") + 1,