title: jQuery event.which returns 13 on Enter key press
body: <p>Why event.which doesn't return 13 (CR) or 10 (LF) depending on the operating system?</p>
  
  <pre><code>$('#something').on('keypress', function (event) {
    switch (event.which) {
    case 13:
      ...
      break;
    }    
  });
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I know that Carriage return is equal to 13 in ASCII code. But why Carriage return is common to all operating systems but <strong>produces different outputs</strong> in text (i.e. LF, CR, CR LF)?</p>