title: Focus Next Element In Tab Index
body: <p>I am trying to move the focus to the next element in the tab sequence based upon the current element which has focus. Thus far I have not turned up anything in my searches.</p>
  
  <pre><code>function OnFocusOut()
  {
      var currentElement = $get(currentElementId); // ID set by OnFocusIn 
  
      currentElementId = "";
      currentElement.nextElementByTabIndex.focus();
  }
  </code></pre>
  
  <p>Of course the nextElementByTabIndex is the key part for this to work. How do I find the next element in the tab sequence? The solution would need to be based using JScript and not something like JQuery.</p>