Click here to Skip to main content
12,402,666 members (73,422 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: MVC3
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");
});

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,
Posted 18-Oct-12 22:10pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 19 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100