title: Allow only numeric value in textbox using Javascript
body: <p>I want to allow only numeric values to be entered into the text and if user enters alphabetic character it should warn the user.
  Any suggestion for optimized and short javascript code?</p>