开发者

jquery input-validation (number characters and decimal places)

开发者 https://www.devze.com 2022-12-29 03:16 出处:网络
I have several javascript functions to validate the input data in t开发者_开发问答extbox, so it will limit the user to type into the textbox a range of numbers (eg. from 0 to 500) an x amount of decim

I have several javascript functions to validate the input data in t开发者_开发问答extbox, 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.


jQuery Validation Plugin

0

精彩评论

暂无评论...
验证码 换一张
取 消