title: Tab key does not focus on input and links
body: <p>I am working in wordpress.I have created jquery for focus input and links while pressing tab key.My jquery is like this:</p>
  
  <pre><code>jQuery('.input').bind('keydown',function(e){
          //e.preventDefault() ;
          var code = e.which;
          //alert(code);
          if(code == 9)
          {   
              var tab = jQuery(this).attr('tabindex');
              tab++;
              jQuery('[tabindex="' + tab + '"]').next().focus();
          }
  
      });
  </code></pre>
  
  <p>And html code is:</p>
  
  <pre><code>&lt;div class="simplemodal-login-fields"&gt;
     &lt;p&gt;
        &lt;label&gt;
        E-mail
        &lt;input class="user_login input" type="text" tabindex="1" size="20" value="" name="log"&gt;
        &lt;/label&gt;
     &lt;/p&gt;
     &lt;p&gt;
        &lt;label&gt;
        Password
        &lt;input class="user_pass input" type="password" tabindex="2" size="20" value="" name="pwd"&gt;
        &lt;/label&gt;
     &lt;/p&gt;
     &lt;p class="forgetmenot"&gt;
         &lt;label&gt;
         &lt;input id="rememberme" class="rememberme input" type="checkbox" tabindex="3" value="forever" name="rememberme"&gt;
         Remember Me
         &lt;/label&gt;
     &lt;/p&gt;
     &lt;p class="submit"&gt;
         &lt;input class="input" type="submit" tabindex="4" value="Log In" name="wp-submit"&gt;
         &lt;input class="simplemodal-close input" type="button" tabindex="5" value="Cancel"&gt;
         &lt;input type="hidden" value="1" name="testcookie"&gt;
     &lt;/p&gt;
     &lt;p class="nav"&gt;
         &lt;a class="simplemodal-register input" tabindex="6" href="http://toleratedmerge.lancetek.com/register-2/"&gt;Register&lt;/a&gt;
         |
         &lt;a class="simplemodal-forgotpw input" tabindex="7" title="Password Lost and Found" href="http://toleratedmerge.lancetek.com/lostpassword/"&gt;Lost your password?&lt;/a&gt;
     &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Now, When I press tab key it will focus only text field and links.It does not focus on remember checkbox,login and cancel button.So what should I have to do to focus on login and register buttons?</p>