title: Download File Using JavaScript/jQuery
body: <p>I have a very similar requirement specified <a href="https://stackoverflow.com/questions/1296085/download-file-using-jquery">here</a>.</p>
  
  <p>I need to have the user's browser start a download manually when <code>$('a#someID').click();</code></p>
  
  <p>But I cannot use the <code>window.href</code> method, since it replaces the current page contents with the file you're trying to download. </p>
  
  <p>Instead I want to open the download in new window/tab. How is this possible?</p>