title: element tabbing with jquery
body: <p>Im struggling to create a tabbing technique using jquery so that the user can use the tab key and navigate through the anchor tags within a container div.  I would like the active anchor to become highlighted whilst tabbing through.  Is this possible?
  Thanks,</p>
  
  <p>My attempt below, this fails.</p>
  
  <pre><code>$(document).ready(function () {
      var tabindex = 1;
      var obj = $('#myDiv').find('a').first().focus();
      $('#myDiv').find('a').each(function () {
          $(this).attr("tabindex", tabindex);
          $(this).css('border', 'solid 1px black');
          tabindex++;
      });
  });
  </code></pre>