Anchor tag not downloading file in IE, instead it gives the option to search for app in app store to open file. For chrome and FF this code is working fine. I don't know this is happening in windows 7 or not as I am using windows 8.1 and windows 7 don't have option for apps.
var a = document.createElement("a"); a.href = filepath; a.download = filename; a.click();
Any help will be highly appreciated. Thanks.
Directly quoting from SOpost
Internet Explorer does not presently support the Download attribute on A tags.