title: click on a link using jQuery on page load
body: <p>I have a link with a script in that opens a view of products. I don't have access to the html, and I need to have this view open on default. Until the behavior is fixed the correct way, which will take long time unfortunaly, I want to automatically make the link click on pageload.  </p>
  
  <p>I tried with the script below first - but since the link itself triggers a pageload, this obviously just keeps firing over and over again. </p>
  
  <p>So how do I do this with jquery or vaniall JS, is this even possible? </p>
  
  <p>Script:</p>
  
  <pre><code>$(document).ready(function () {
    $('.action')[0].click();
  });
  </code></pre>
  
  <p>My link:</p>
  
  <pre><code>&lt;a href="javascript://" name="_ec_rpd1" id="_ec_rpd1" class="action" onclick="if( UI.pb_boolean(this, 'click') ) {} return false;"&gt;Toon alle&lt;/a&gt;
  </code></pre>