title: TAB key not working to switch over between textboxes
body: <p>I have 5 textboxes such as firstname,lastname,address,city,state. I did validation using jquery to restrict from entering number and special characters.but the problem is the TAB key is not working to switch over to the next textboxes. here is ASP.NET code</p>
  
  <pre><code>   &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
  
          &lt;asp:TextBox runat="server" ID="text_firstname" onkeydown="return keydown(event)" MaxLength="45" /&gt;
          &lt;label&gt;Last Name&lt;/label&gt;
          &lt;asp:TextBox runat="server" ID="text_lastname" onkeydown="return keydown(event)" MaxLength="45" /&gt;
          &lt;label&gt;Address&lt;/label&gt;
          &lt;asp:TextBox runat="server" TextMode="MultiLine" ID="text_address" Rows="2" MaxLength="95"&gt;&lt;/asp:TextBox&gt;
          &lt;label&gt;City&lt;/label&gt;
          &lt;asp:TextBox runat="server" ID="text_city" onkeydown="return keydown(event)" MaxLength="45" /&gt;
          &lt;label&gt;State&lt;/label&gt;
          &lt;asp:TextBox runat="server" ID="text_state" onkeydown="return keydown(event)" MaxLength="45" /&gt;
  
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here is my Jquery</p>
  
  <pre><code>function keydown(e) {
      var key = e.keyCode;
      if (!((key == 8) || (key == 32) || (key == 46) || (key &gt;= 35 &amp;&amp; key &lt;= 40) || (key &gt;= 65 &amp;&amp; key &lt;= 90))) {
          e.preventDefault();
      }
  }
  </code></pre>