货币jQuery的屏蔽输入 [英] Masked input for currency jQuery
问题描述
在我的Web应用程序中,我有一个名为预算"的输入字段,用户可以在其中输入项目的建议预算.我需要创建一个带掩码的输入,以便在用户在输入字段中键入内容时自动将输入的金额转换为以下格式:
In my web application I have an input field called "Budget" where users enter the proposed budget for a project. I need to create a masked input to automatically bring the entered amount to the following format while the user is typing into the input field:
1000
10000
100 000
1 000
10 000
100 000
我已经在整个互联网上进行搜索,但似乎找不到必要的搜索引擎.有人可以指出我合适的插件还是建议自定义解决方案?
I've searched throughout the Internet but don't seem to find the necessary one. Could anybody point me to a suitable plugin or maybe suggest a custom solution?
谢谢.
推荐答案
尝试以下任一方法:
http://plugins.jquery.com/tag/currency/
这些也可能包含您要查找的内容:
These may also contain what you're looking for:
http://plugins.jquery.com/tag/mask/
这篇关于货币jQuery的屏蔽输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!