title: Validating numeric field with 2 decimal places
body: <p></p>
  
  <pre><code>   $(document).ready(function () {
         $("#btnSubmit").click(function () {
             var textvalue = $("#txtNumeric").val();
             validateDecimal(textvalue);
             return true;
         });
  
     });
  
     function validateDecimal(value) {
         var RE = new RegExp(/^\d*\.\d\d$/);
         if (RE.test(value)) {
              return true;
         } else {
             alert("formate numeric with 2 decimal places!");
             return false;
         }
     }
  </code></pre>
  
  <p>I am using this script to validate my textnumeric field value with 2 decimal places.
  its working properly at the time of validation.But if the textnumeric field value is correct I am not getting any value from that textfield to my ASP.NET code behind page(default.aspx.cs). 
  Can anyone help me to resolve this ?</p>