I have multiple URLs for users to download. The download should be triggered after they hit “Like” or post a “Tweet”. I have successfully setup the callback functions for both.
I wish to know how do I employ Javascript so that the multiple downloads are triggered simultaneously. One solution would be to use window.location, but that would trigger just single download. I can even do multiple window.open but the pop-up blocker would block this.
What other alternatives do I have for this situation?
What you can do is create a hidden iframe with the src of the file for each download, something like: