JQuery - Count characters in textarea?

I can understand why your code doesn't work if what you posted was incomplete, but without knowing that I can't know for sure.

I can understand why your code doesn't work if what you posted was incomplete, but without knowing that I can't know for sure. ... works fine for me. Edit: You should probably clear the charNum div, or write something, if they are over the limit.

I have just a span instead of div for id='charNum', let me see again! – Kyle Mar 20 at 20:11 Can you post or link to your complete code? – Caterham Mar 20 at 20:11 After seeing your complete code, what were you expecting it to do differently?

What is "broken" about it? – Caterham Mar 20 at 20:14 you can remove the "else", just cause we hit 500 doesn't mean that we should prevent #charNum to display the value, the "else" will make the number stop at 1 instead of 0 as it is right now. – Joakim Mar 20 at 20:22 @Joakim, I removed the else but, in this case, I'll be getting negative nums!

– Kyle Mar 20 at 20:31.

– Kyle Mar 20 at 20:04 1 Try this jsfiddle. Net/xqyWV – NeXXeuS Mar 20 at 20:11 thanks NeXXeuS. – Kyle Mar 20 at 20:41.

Your code was a bit mixed up. Here is a clean version.

Sly, believe me, that does not work, it seems that function that begins with .. function() { .. need to be out of $(document). Ready(function() { – Kyle Mar 20 at 20:48.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions