View Full Version : Resolved text counter

09-08-2011, 12:13 PM
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