Author: katbeme | Posted on: 9/28/2009 5:22:01 AM | Views : 438

I am trying to figure out how to count characters in textbox as a user is typing.  I Have restricted the lenght of the textbox to 1000 characters, but as a person is typing in this box I would like to have a label below box that will count the characters as they type.  Is there some javascript code that could accomplish this?




My ASCX code for the textbox


<asp:Table ID="tblIssueDescription" runat="server">
    <asp:TableRow ID="tr2IssueDescription" runat="server" Width="100%">
        <asp:TableCell runat="server" ID="tc2IssueDescription" VerticalAlign="Top" HorizontalAlign="Left" Width="100%">
            <asp:TextBox ID="tbIssueDescription" runat="server" MaxLength= ...

Go to the complete details ...