<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Testcommas.aspx.cs" Inherits="TestNumberCommas.Testcommas" %> <script src="<%=Page.ResolveUrl("~")%>"Style/javascript/jquery-1.7.1.js" type="text/javascript"></script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="jquery.js" type="text/javascript"></script> <script src="jquery.maskedinput.js" type="text/javascript"></script> <script type='text/javascript'> jQuery(function ($) { $("#TextBoxY").mask("999,999,999,999"); }); </script> <style type="text/css"> .style1 { width: 100%; } .style2 { width: 245px; } .style3 { width: 66px; } </style> </head> <body> <form id="form1" runat="server"> <div> </div> <table class="style1"> <tr> <td class="style3"> </td> <td class="style2"> <asp:TextBox ID="TextBoxINST_ID" runat="server"></asp:TextBox> </td> <td> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Submit" Width="100px" /> </td> </tr> <tr> <td class="style3"> Hourly</td> <td class="style2"> <asp:TextBox ID="TextBoxH" runat="server" Width="180px"></asp:TextBox> </td> <td> </td> </tr> <tr> <td class="style3"> Yearly</td> <td class="style2"> <asp:TextBox ID="TextBoxY" runat="server" Width="180px" AutoCompleteType="Email"></asp:TextBox> </td> <td> </td> </tr> <tr> <td class="style3"> </td> <td class="style2"> <asp:TextBox ID="TextBoxadd" runat="server" Width="180px"></asp:TextBox> </td> <td> </td> </tr> <tr> <td class="style3"> </td> <td class="style2"> <asp:TextBox ID="TextBoxadd1" runat="server" Width="180px"></asp:TextBox> </td> <td> </td> </tr> <tr> <td class="style3"> </td> <td class="style2"> <asp:TextBox ID="TextBoxadd2" runat="server" Width="180px"></asp:TextBox> </td> <td> </td> </tr> <tr> <td class="style3"> </td> <td class="style2"> <asp:TextBox ID="TextBoxadd3" runat="server" Width="180px" AutoPostBack="True" ontextchanged="TextBoxadd3_TextChanged"></asp:TextBox> </td> <td> </td> </tr> <tr> <td class="style3"> </td> <td class="style2"> <asp:TextBox ID="TextBoxadd4" runat="server" Width="180px"></asp:TextBox> </td> <td> </td> </tr> </table> </form> </body> </html>
<script type='text/javascript'> $(document).ready(function(){ $("#TextBoxY").mask("999,999,999,999"); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)