Home > textbox maxlength using jQuery

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

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

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