I am using this javascript function to launch download
function startDownload(url) { window.open(url, \'Download\'); }
It works, but i
HTML5 solution with 'download' attribute
https://www.w3schools.com/tags/att_a_download.asp