文本框上的遮罩发生了但失败了 [英] Masking on text box is happend but failed
问题描述
朋友,
我已经使用了脚本
Hi Friends,
I have used the script
<script src="../../Scripts/jquery.maskedinput-1.3.min.js" type="text/javascript"></script>
对于以下代码
for the following code
jQuery(function($){
$("#InitialInvestment").mask("9,999,999");
});
我得到的限制是,当我输入的数字少于7(9位数)时,它不允许我和我的模型状态失败并抛出模型状态验证消息.
请建议我如何消除这种水化现象
谢谢,
The limitation what i am getting is when i entered less then 7(No of 9s) digits it not allowing me and my model state get failed and throwing the model state validation message.
Please suggest me how to remove this limeitation
Thanks,
推荐答案
){
(" #InitialInvestment").mask( 9,999,999" ); });
("#InitialInvestment").mask("9,999,999"); });
我得到的限制是,当我输入的数字少于7(9位数)时,它不允许我和我的模型状态失败并抛出模型状态验证消息.
请建议我如何消除这种水化现象
谢谢
The limitation what i am getting is when i entered less then 7(No of 9s) digits it not allowing me and my model state get failed and throwing the model state validation message.
Please suggest me how to remove this limeitation
Thanks,
这篇关于文本框上的遮罩发生了但失败了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!