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

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