[jQuery] Re: TextArea CountDown

2009-03-15 Thread shapper
Thank You! On Mar 15, 5:09 pm, mkmanning wrote: > No, but it's pretty easy to write one :) > > > > > $('textarea').keyup(function(){ >       if(this.value.length >= 100) { >            //handle the over the limit part here >            $(this).addClass('overlimit'); >            this.value = t

[jQuery] Re: TextArea CountDown

2009-03-15 Thread mkmanning
No, but it's pretty easy to write one :) $('textarea').keyup(function(){ if(this.value.length >= 100) { //handle the over the limit part here $(this).addClass('overlimit'); this.value = this.value.substring(0, 100); } else { $(this).remove