Textarea Counter Demo

Type up to 50 characters. The count updates for typing, paste and other input methods.

0 / 50

HTML Top ↑

<textarea name="t1"
          rows="4"
          class="form-control"
          id="t1"
          maxlength="50"></textarea>

<div id="d1" aria-live="polite">0 / 50</div>

jQuery Top ↑

$( "#t1" ).on( "input", function () {
    const length = $( this ).val().length;
    $( "#d1" ).text( length + " / 50" );
});

Counter with Progressbar →






plus2net.com






We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
©2000-2026   plus2net.com   All rights reserved worldwide Privacy Policy Disclaimer