Hello, it is necessary that the user when entering numbers, jquery checked for example he enters 354, and the maximum number is only 350! How can I do that? Thank you in advance!
2 answers
The script version has already brought @mountpoint , and I’ll note that for the latest versions of browsers other than Firefox, it’s enough to use this :
<input type="number" max="350" min="0" />
|
something is thought up http://jsfiddle.net/LR8p8/1/
|