Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // var inputAnyValue = $('"your selector" input[type="text"]');
- // inputAnyValue.keypress(function(e) {
- // // if this value is not a number
- // if (e.which != 8 && e.which != 0 && e.which != 46 && (e.which < 48 || e.which > 57)) {
- // return false;
- // }
- // });
Add Comment
Please, Sign In to add comment