title: Trigger a click when handling a focus event
body: <p>I'm trying to determine why something like this doesn't work:</p>
  
  <pre><code>$('a').focus( function() {
    $(this).click(); 
  });
  </code></pre>
  
  <p>Background:</p>
  
  <p>I'm trying to create a form in which tabbing to various elements (e.g. textboxes, etc.) will trigger links to anchors in a div, so that relevant text is scrolled into view as the form is being filled out.</p>
  
  <p>Is there a better way to do this?</p>