I'm retrieving a file as a base64 string from the server and needs to implement download functionality in JavaScript. How can I achieve this.
I used download attribute on anchor tag but this doesn't support in IE.
window.open also doesn't support in IE because what I have is a data url
Post it to the server and set the appropriate headers. There is afaik no other solution that will work in more browsers