Multiple download links to one zip file before download javascript

You can use JSZip.js, XMLHttpRequest(), Array.prototype.map() , Promise.all() to create .zip file when all requests for files have completed; use <a> element with download attribute set to objectURL of .zip file at JSZip .generateAsync() function, click on a element should display Save File dialog with created .zip as downloadable file. <head> <script src=”https://stackoverflow.com/questions/37176397/jszip.js”></script> <script> window.onload … Read more