Home > set maxlength property globally

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

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

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