SyntaxFix
Write A Post
Hire A Developer
Questions
You can do this with html5 very easily:
var link = document.createElement('a'); link.href = "/WWW/test.pdf"; link.download = "file_" + new Date() + ".pdf"; link.click(); link.remove()