hi
refer below thread
http://digitalbush.com/projects/masked-input-plugin/
I used below code for showing textbox text for money
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <br> <script src="../Scripts/JScript.js" type="text/javascript"></script><br> <script type="text/javascript">
jQuery(function ($) {
$("#Txtprice").mask("999,999,999");
});
</script>
<asp:TextBox ID="Txtprice" runat="server" CssClass="txtprice2"></asp:TextBox>
here I define 9 digit for textbox(for money) like below
111,111,111
now problem is that here if I enter 8 digit it doesn't accept it and clean textbox I should enter 9 digit unless it cleans number from text box
Best Regards
Neda