title: How to navigate href in anchor tag via JavaScript
body: <p>Is there an easy way to have JavaScript mimic a User clicking an anchor tag on a page? That means the Referrer Url needs to be set. Just setting the document.location.href doesn't set the Referrer Url.</p>
  
  <pre><code>&lt;script&gt;
    $(document).ready(function () {
      $("a").click();
  });
  &lt;/script&gt;
  
  &lt;a href="http://example.com"&gt;Go here&lt;/a&gt;
  </code></pre>
  
  <p>This doesn't work because there isn't a Click() event setup for the link.</p>