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

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