title: How to fire hyper link through jquery trigger?
body: <p>I want to fire hyper link through javascript. It link must be open in new tab.</p>
  
  <p>We can use window.open('url') but we know browser blocks popup. So i need alternate solution for it.</p>
  
  <p>I have tried with trigger() but it doesn't work.</p>
  
  <p>My HTML code is :</p>
  
  <pre><code>&lt;input id="btn" type="button" value="Click to fire"&gt;
  &lt;a id="link" href="http://www.google.com" target="_blank"&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>My script is :</p>
  
  <pre><code>$('#btn').click(function(){
          $('#link').trigger('click');
  });
  </code></pre>
  
  <p>Besides i used click(), it doesn't work too.</p>
  
  <p>Code is :</p>
  
  <pre><code>$('#btn').click(function(){
          $('#link').click();
  });
  </code></pre>
  
  <p>Can you any one help me?       </p>