SyntaxFix
Write A Post
Hire A Developer
Questions
Works on Chrome, firefox and IE8 and above:
var link = document.createElement('a'); document.body.appendChild(link); link.href = url; link.click();