title: submit a form on 'enter' key press
body: <p>I want to submit the form value in 'enter' key.I have a button search now to submit the value value.but I want to do it without search button on enter key press.</p>
  
  <pre><code>  html
      &lt;input class="stxt" type="text" name="searchtxt"&gt;&lt;a style="padding-right:2ex;"&gt;&lt;/a&gt;
     &lt;button name="search" class="search"&gt;Search&lt;/button&gt;&lt;/p&gt;
  
    php
       if(isset($_REQUEST['search']))
         {
           $search=$_REQUEST['searchtxt'];
           some code here
         }
  </code></pre>