title: jquery should I use bind or live or is there another way to do this
body: <p>in my form I have my button like this</p>
  
  <pre><code>&lt;button id="mybutton" type="submit"&gt;&lt;/button&gt;
  </code></pre>
  
  <p>I am using query submit to submit the form</p>
  
  <pre><code> $('#mybutton').click(function()
      {
          $('form#myform').submit();
  }
  </code></pre>
  
  <p>It works for most besides when I hit enter it still submits the form totally by passing the click catch.
  I changed button type to button </p>
  
  <pre><code>&lt;button id="mybutton" type="button"&gt;&lt;/button&gt; 
  </code></pre>
  
  <p>but then it doesn't do anything when I hit enter.</p>
  
  <p>I heard I could use bind or on but not sure how would that help me in this case. Any help will be appreciated
  <strong>EDIT</strong></p>
  
  <p>If I change the button type from submit TO button, then it does not do anything when I press enter. then I have to manually click the button. If I leave the type to submit it submits my forms on enter by passing jquery net.</p>