title: How to prevent enter key from submitting a form but still allow enter to work?
body: <p>I'm using XOXCO Tags-Input. </p>
  
  <p>Here is a demo <a href="http://xoxco.com/projects/code/tagsinput/example.html" rel="nofollow">http://xoxco.com/projects/code/tagsinput/example.html</a></p>
  
  <p>So in order to complete a tag i have to hit enter but when i hit enter it submits my form. </p>
  
  <p>I can disable enter for the whole form with this code but then i can't complete a tag.</p>
  
  <pre><code>$("#form").keypress(function(e) {
      //Enter key
      if (e.which == 13) {
      return false;
      }
  });
  </code></pre>
  
  <p>So i still need enter to work but i also need it to not submit the form and i'm not sure how to do that.</p>