Home > sample code maxlegth of textarea

set maxlength to all textbox/textarea in application using jquery.

Add a textbox with id and maxlength attributes like [crayon-69c0175b50fcd889804200/] add following code in js file. (this code find all textbox/textarea in application and append div(charleft) to the textbox/textarea.) [crayon-69c0175b50fd5374165745/]   and add following css [crayon-69c0175b50fd9711602712/] :)  

This Article is TAGGED in , , , , , . Read more