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
This could be helpful if you are not require to navigate another page. This is base javascript function, so can be used in any platform where backend is in Javascript
window.location.assign('any url or file path')