title: How can I simulate an anchor click via jquery?
body: <p>I have a problem with faking an anchor click via jQuery:
  Why does my thickbox appear the first time I click on the input button, but not the second or third time?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;input onclick="$('#thickboxId').click();" type="button" value="Click me" /&gt;
  
  &lt;a id="thickboxId" href="myScript.php" class="thickbox" title=""&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>It does always work when I click directly on the link, but not if I try to activate the thickbox via the input button. This is in FF. For Chrome it seems to work every time. Any hints?</p>