Developer's blog
Tuesday, 4 June 2013
Javascript Number validation on keypress
function validInt(event) { if (event.which != 43 && event.which != 0 && event.which != 8 && (event.which <= 47 || event.which >= 59)) event.preventDefault(); }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment