title: jQuery Event Keypress: Which key was pressed?
body: <p>With jQuery, how do I find out which key was pressed when I bind to the keypress event?</p>
  
  <pre><code>$('#searchbox input').bind('keypress', function(e) {});
  </code></pre>
  
  <p>I want to trigger a submit when <kbd>ENTER</kbd> is pressed.</p>
  
  <p><strong>[Update]</strong></p>
  
  <p>Even though I found the (or better: one) answer myself, there seems to be some room for variation ;)</p>
  
  <p>Is there a difference between <code>keyCode</code> and <code>which</code> - especially if I'm just looking for <kbd>ENTER</kbd>, which will never be a unicode key?</p>
  
  <p>Do some browsers provide one property and others provide the other one? </p>