count the characters in textbox
hi!
in my textbox control i give maxlength=150. and bottom of the control i take label. when user enter the characters into textbox, the label shows the values decrement by 1 upto 0. at the same time user erase the characters this time increment by 1 upto 150.
please give a code to do this.
thanks