jquery input-validation (number characters and decimal places).
Posted
by Cesar Lopez
on Stack Overflow
See other posts from Stack Overflow
or by Cesar Lopez
Published on 2010-04-29T14:03:05Z
Indexed on
2010/04/29
14:07 UTC
Read the original article
Hit count: 486
jQuery
|input-validation
I have several javascript functions to validate the input data in textbox, so it will limit the user to type into the textbox a range of numbers (eg. from 0 to 500) an x amount of decimals (eg. 1 or 2 or 3 ....).
I am having some issues with the javascript functions because they are three separate functions and the alerts get a bit mixed up.
I was wondering if there is a jquery function that will make it neat, effective and simple.
Thanks.
© Stack Overflow or respective owner