title: How can I disable keyboard input in form validation for JavaScript
body: <p>I want to validate a text box so that it only takes numeric values. If the user tries to press alphabet keys, the keystrokes must be ignored, i.e nothing can be typed in.</p>
  
  <p>How can this be done? </p>