Counting User Text
Moderator: General Moderators
Counting User Text
What I am trying to do is have the user enter text into a form and then count the number of words in the text they have entered. I know this is probably simple to do, but I just haven't been able to figure it out.
Code: Select all
<textarea onkeyup="window.status = 'Words: ' + value.split(' ').length;"></textarea>