Textarea Counter with Progressbar

This demo adds a jQuery UI Progressbar to the 50-character textarea counter.

0 / 50

jQuery Top ↑

$( "#p1" ).progressbar({
    value: 0,
    max: 50
});

$( "#t1" ).on( "input", function () {
    const length = $( this ).val().length;

    $( "#d1" ).text( length + " / 50" );
    $( "#p1" ).progressbar(
        "value",
        length
    );
});

Progressbar tutorial






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