title: Programmatically firing a click handler
body: <p>I'm using dojo. I've got something like this:</p>
  
  <pre><code>&lt;a id="fooBar" onclick="foo();bar();"&gt;Foo then Bar&lt;/a&gt;
  </code></pre>
  
  <p>I want to trigger <code>fooBar</code>'s click handler from another button. Something like:</p>
  
  <pre><code>&lt;a onclick="dojo.query('#fooBar')[0].click()"&gt;Do FooBar&lt;/a&gt;
  </code></pre>
  
  <p>Can I do that?</p>