i need to count the number of chars while the user is typing in the textarea or input, coz there are limit abd i wanna show him how many char he haa typed, and how many he can type !

is there any way to do this with Js. ?

thx alot !