我想允许整数和小数点符号并使用javascript在文本框中取消签名 [英] I want to allow integer and decimal sign and unsign in textbox using javascript

查看:78
本文介绍了我想允许整数和小数点符号并使用javascript在文本框中取消签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友。



这里我有一个要求是我有一个文本框只允许整数和小数点符号和不符号..所以我找不到解决方案为此可以有人有这个解决方案吗?



如果是和我分享。



谢谢您。 :)

Hello Friends.

Here I have one requirement is that i have one textbox which allows only integer and decimal sign and unsign .. So I can't Find Out Solution For that can anyone have that Solution ?

If Yes Than Share with me.

Thank You. :)

推荐答案

Google是你的朋友:好好经常拜访他。他可以比在这里发布问题更快地回答问题...

一次非常快速的搜索给出了近25万次点击: Google文本框javascript仅限数字 [ ^ ]

将来,请尝试至少做自己的基础研究,而不是浪费你的时间或我们的时间。
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...
A very quick search gave nearly quarter of a million hits: Google "textbox javascript numeric only"[^]
In future, please try to do at least basic research yourself, and not waste your time or ours.


这篇关于我想允许整数和小数点符号并使用javascript在文本框中取消签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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