title: How can the cursor goes to next text field when i press key Enter?
body: <p>This is my <code>login.jsp</code> page,here i have 2 text fields when i enter user name in first text field and hits <kbd>Enter</kbd> key from keyboard it is not going to next text field.how can i do this? thanks for your help.</p>
  
  <pre><code>&lt;body&gt;         
  &lt;div id="wrapper"&gt; 
      &lt;table width="90%" border="0" align="center"  cellpadding="0"  cellspacing="0" &gt; 
          &lt;tr&gt; 
              &lt;td width="15%"&gt;&lt;input name="username" type="text" id="username" value="username"/&gt;&lt;/td&gt; 
              &lt;td&gt;&lt;input name="password" type="password" id="password" value="password"/&gt;&lt;/td&gt; 
          &lt;/tr&gt; 
          &lt;tr&gt;&lt;td&gt;
                  &amp;nbsp;
              &lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt; 
              &lt;td align="right"  valign="bottom" &gt;&lt;input type="button"  name= "button"  id= "button"   value= "Submit"   /&gt;&lt;/td&gt; 
          &lt;/tr&gt; 
      &lt;/table&gt; 
  &lt;/div&gt;      
  </code></pre>
  
  <p></p>