Javascript, load onclick at pageload, whats broken?
<p>I'm a dizzy designer. I can't can't see why this isn't working:</p>

<pre><code> &lt;head&gt;
 &lt;script type="text/javascript"&gt;
      $().ready(function() {
           $('#test').trigger("click");
      });
 &lt;/script&gt;  
 &lt;/head&gt;
 &lt;body&gt;
      &lt;a id="test" href="http://www.dartworks.net" &gt;click here&lt;/a&gt;
&lt;/body&gt;
</code></pre>

<p>what am i doing wrong?</p>
