asp.net中的Javascript仅限输入十进制格式##。## [英] Javascript in asp.net restrict input decimal formate ##.## only

查看:67
本文介绍了asp.net中的Javascript仅限输入十进制格式##。##的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想要以十进制输入总体验,所以限制输入格式十进制##。## only,

使用Javascript ...

Want to input Total Experience in Decimal,So restrict input format Decimal in ##.## only,
using Javascript...

推荐答案

这应该有效: http: //stackoverflow.com/questions/308122/simple-regular-expression-for-a-decimal-with-a-precision-of-2 [ ^ ]



问候..
This should work : http://stackoverflow.com/questions/308122/simple-regular-expression-for-a-decimal-with-a-precision-of-2[^]

Regards..


这篇关于asp.net中的Javascript仅限输入十进制格式##。##的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆