• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple requests to download files using JavaScript

 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to download multiple files on a single request. Could anyone tell me how to use JavaScript to make multiple requests to the files for download and target the results to different windows.

Thanks,
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't be done. A single request can return only one response. There is no way to split the response up to separate windows, or to split the request into multiple responses. You'll need a separate request/response per window.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic