133
rated 0 times
[
134]
[
1]
/ answers: 1 / hits: 43887
/ 15 Years ago, wed, september 9, 2009, 12:00:00
I'm using the onkeyup
event on a form field in JavaScript, and I'm wanting to check if the key the key pressed is a numeric digit - i.e. 0 - 9, so I can then do something with the input.
<input type="text" onkeyup="" />
Would I need to use Regex for this?
More From » dom-events