I fixed the unmasked of each value that is entered into the textbox and displayed on the left of the textbox. Here is my code:
<head runat="server">
<title>jQuery Masked Input Demo</title>
<script src="Jquery Scripts/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="Jquery Scripts/jquery.maskedinput.js" type="text/javascript"></script>
<script type='text/javascript'>
$(document).ready(function () {
$.mask.definitions['~'] = "[+-]";
$("#TextBox1").mask("999,999,999,999");
$("#TextBoxY").mask("999,999,999,999");
$("#TextBox1").blur(function () {
$("#lblinfo").html(" " + $(this).mask());
$("#TextBoxY").blur(function() {
$("#lblinfo2").html(" " + $(this).mask());
}).dblclick(function() {
$(this).unmask();
});
});
});