- Friday, December 19, 2008, 11:28
- General, How-To, JQuery, JavaScript
- 17,664 views
Maxlength of Textarea
Setting up maxlength of input text are easy. Just an attribute maxlength="##" does the work. But maxlength attribute does not work with textarea. I tried writing <textarea rows="5" cols="30" maxlength="120"></textarea> but this does not works.
So what to do if we want to fix the maxlength of a textarea?
Use following jQuery plugin for setting maxlength of any textarea on your page.
First thing for ...
Full story