I have a very similar requirement specified here.
I need to have the user\'s browser start a download manually when $(\'a#someID\').click();
$(\'a#someID\').click();
But
Works on Chrome, Firefox and IE8 and above.
var link=document.createElement('a'); document.body.appendChild(link); link.href=url ; link.click();