title: Open a pdf file in new tab using jquery
body: <p>I am downloading a pdf file...and i want to open its in new tab..am using this code</p>
  
  <pre><code>var filename = result.get('sProviderName')+'-TSCA.pdf';
  var downloadLink = document.createElement("a");
  downloadLink.href = global.rootUrl + 'administrations/TscaDownload/'+iProviderId+'/'+filename;
  window.open(downloadLink.href,"TSCA", "", "");
  </code></pre>
  
  <p>but the browser open the url in new tab and downloading...its not showing pdf file.</p>
  
  <p>can anyone help me to do this pls...</p>