The following code i have created is allowing me to capture the numeric values entered by the traditional keyboard number keys.
onkeydown="return (event.keyCode=8 && event.keyCode=144 && (event.keyCode>=48 && event.keyCode<=57));"
But the code is not capturing the key strokes that comes from the number pad located in the modern keyboards.
Appreciate if any one can help me.