title: Why does returning false in the keydown callback does not stop the button click event?
body: <p>I have a button and the following javascript routine.</p>
  
  <pre><code>$("button").keydown( function(key) {
    switch(key.keyCode) {
    case 32: //space
      return false;
    }
  } );
  </code></pre>
  
  <p>as I understood it, the <code>return false;</code> would stop the keypress from being processed. So <code>$("button").click();</code> would not be called. For other keyCodes, this works as expected. For example, if I intercept<code>40</code>, which is the down button, the page is not scrolling.</p>
  
  <p>I noticed this behavior in Firefox.</p>
  
  <p>Why does the <code>return false;</code> does not stop the button click event on space? What does the javascript spec say about this?</p>