title: html table with enter event using jquery
body: <p>though it is my first quesition, please help me, my question is I have html table  with input text in the third column, what I want is when ever I add values in the textbox and press enter then difference should be kwh - kwd and if the difference is less than value in the normal then bill is normal value but if the  difference is greator then difference bill should be difference * abnormal value, and focus should go to the next input.
  this is my html:</p>
  
  <pre><code>&lt;table id="adminTable"&gt;
  
  
  
          &lt;tr class="tableHeading"&gt;
              &lt;td&gt;customer id&lt;/td&gt;
  
              &lt;td&gt;kwh&lt;/td&gt;
              &lt;td&gt;kwd&lt;/td&gt;
              &lt;td&gt;difference&lt;/td&gt;
              &lt;td&gt;bill&lt;/td&gt;
              &lt;td&gt;normal&lt;/td&gt;
              &lt;td&gt;abnormal&lt;/td&gt;
  
          &lt;/tr&gt;
  
          &lt;tr&gt;
              &lt;td&gt;10&lt;/td&gt;
  
                  &lt;td&gt;9&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" name="txt" id="name" class="name1"/&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;5&lt;/td&gt;
                  &lt;td&gt;1&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;11&lt;/td&gt;
  
                  &lt;td&gt;6&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" name="txt" id="name" class="name1"/&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;5&lt;/td&gt;
                  &lt;td&gt;1&lt;/td&gt;
          &lt;/tr&gt;
  
  &lt;/table&gt;
  </code></pre>