So how to count characters of textarea or text input in jQuery? Let’s keep things simple.
The jQuery.maxlength is a lightweight jQuery character counter and countdown for inputs and textareas. Easy to use.
<input type="text" maxlength="50"/>
Few lines and ready!
More advanced example available here:
– related topic on Stackoverflow: