Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: text counter

  1. #1
    Senior Coder durangod's Avatar
    Join Date
    Nov 2010
    southwestern USA
    Thanked 34 Times in 33 Posts

    text counter

    Hi i am using a text counter for my textarea, the problem is that when a member edits their profile, unless they actually keydown inside the text area then it will not load their text in the counter.

    I know the reason is the onkey deal, but im not sure how to load the text in the counter on page load. I guess on register the onkey is fine becaue its usually blank, but on edit i need it to load the number of chars in the counter automatcally. It loads the text fine on page load, it just does not increment the counter unless you keydown inside the box.

    <textarea class="inputl" rows="8" name="txtComment" cols="59"
     Comment data here </textarea>
    UPDATE nevermind i got it, i found where to load the value.. thanks though
    Last edited by durangod; 09-08-2011 at 12:41 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts