Hi, i'm updating a div with the length of a textarea.

<script type="text/javascript">
$().ready(function(){
        $("#formElement_profileTeamProfile").keyup(function() {
                
                var newText = $(this).length;
                $('#countCharTeamProfile').html(newText);

        });
});
</script>

Every time i enter a char into the textarea, the value stays at 1.
:confused:

I am very new to any jQuery, i've been searching with no luck for hours!

any help would be greatly appreciated!

J.
-- 
View this message in context: 
http://old.nabble.com/update-div-with-textarea-length-tp26492474s27240p26492474.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to