146
rated 0 times
[
150]
[
4]
/ answers: 1 / hits: 103371
/ 15 Years ago, sat, september 5, 2009, 12:00:00
I have an input box that takes values from 0-100. I want to prevent users from writing anything larger or smaller.
I've been using the jquery keyfilter plugin to limit the input of a field:
http://code.google.com/p/jquery-keyfilter/
This plugin can limit the input to numerals, but not within a range. How do I prevent users from entering numbers that would exceed the range. Thanks.
More From » jquery