title: Get Correct keyCode for keypad(numpad) keys
body: <p>I'm getting codes <strong>[96..105]</strong> by calling <code>String.fromCharCode(event.keyCode)</code> when pressing keys <strong>[0..9]</strong>(digits) on the keypad.
  Though these codes correspond to characters: <strong>'a b c d e f g h i'</strong>  instead of <strong>[0..9]</strong>.</p>
  
  <p><strong><em>Question:</em></strong></p>
  
  <p>I have 3 inputs in the form. User allowed to enter only in the 1-st input. While user press keys on keyboard some function need to filter it and write it to 2-nd input if pressed key is digit otherwise it must write it to the 3-rd input. How it can be corrected? </p>
  
  <p><a href="http://jsfiddle.net/AEMLoviji/tABDr/" rel="nofollow noreferrer">My implementation in JSFiddle</a></p>