javascript - download multiple files using post forms -


i have code submit form download file following:

var form = document.createelement("form"); form.setattribute("id", "exportform"+model.exportcounter); form.setattribute("method", "post"); form.setattribute("action", _url); form.setattribute("enctype", "multipart/form-data"); document.body.appendchild(form); form.submit(); 

now need download multiple files in same time, added above code in loop , submitted created forms 1 one . that's not work!.

in devtool last request appears sent , others canceled: enter image description here please?


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -