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-6973a56233e9a732242533/] add following code in js file. (this code find all textbox/textarea in application and append div(charleft) to the textbox/textarea.) [crayon-6973a56233ea0901082956/]   and add following css [crayon-6973a56233ea4715821012/] :)  

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