title: jQuery disabling submit-by-press on keyboard
body: <p>I want to disable the "Enter" button on the keyboard so that when the user press enter to submit the form, nothing happens, and doing something else rather than submitting the form, such as alerting "Using keyboard is not allowed."</p>
  
  <p>Here is what I have done, <code>#calculator</code> is a button:</p>
  
  <pre><code>$(document).ready(function(){
      $("#calculator").keydown(function(){
         console.log("Enter is disabled.");
  return false;
       });
  });
  </code></pre>
  
  <p>Currently on its submission the form results unexpectedly (for instance redirects to the target page but without any CSS loaded.</p>