jQuery Text Area Character Counter

Aaron Russell has gone and created a huge time saving jQuery plugin for us all to use in the form of his nifty jQuery Simply Countable plugin which basically provides a character counter for any text input or textarea box.

Using it is as simple as going

$(‘#my_textarea’).simplyCountable();

but it comes packed with loads of extra settings which allow you to specify the actual counter jQuery selector, what to actually count, how many of that thing to count and whether or not we can allow people to exceed the limit for example.

It comes released under both the MIT and GPL licenses and it is hosted on  GitHub, the home of social coding.

The following is a screenshot of it in action:

Note the counter at the bottom left of the image. Obviously you could style this to whatever you want.

Thanks Russell, a great little plugin that saved me some valuable time creating the same functionality from scratch! :)

Related Link: http://github.com/aaronrussell/jquery-simply-countable

You might also enjoy:

About Craig Lotter

Craig Lotter is an established web developer and application programmer, with strong creative urges (which keep bursting out at the most inopportune moments) and a seemingly insatiable need to love all things animated. Living in the beautiful coastal town of Gordon's Bay in South Africa, he games, develops, takes in animated fare, trains under the Funakoshi karate style and for the most part, simply enjoys life with his amazing wife and daughter. Oh, and he draws ever now and then too.
This entry was posted in Software & Websites and tagged aaron russell, character counter, counter, , , , text input, textarea. Bookmark the permalink.
  • http://blog.sven.co.za/ Sven Welzel

    Now that, indeed, is a nifty plugin… Key to remember though that it’s only a client-side indication, not server-side enforcement of character count – nothing like a curl based POST to override your client-side verifications :)
    .-= Sven Welzel´s last blog ..Ubuntu 10.04 LTS now in beta =-.

  • http://blog.sven.co.za Sven Welzel

    Now that, indeed, is a nifty plugin… Key to remember though that it’s only a client-side indication, not server-side enforcement of character count – nothing like a curl based POST to override your client-side verifications :)
    .-= Sven Welzel´s last blog ..Ubuntu 10.04 LTS now in beta =-.

  • http://www.craiglotter.co.za Craig Lotter

    Absolutely, but at least it’s a nice visual starting point for your Joe Public user to work with! :)

  • http://www.craiglotter.co.za Craig Lotter

    Absolutely, but at least it’s a nice visual starting point for your Joe Public user to work with! :)

  • http://blog.sven.co.za/ Sven Welzel

    Indeedy! :)
    .-= Sven Welzel´s last blog ..KnowledgeTree 3.7.0.2 Document Indexing and Indexer issues (SOLVED) =-.

  • http://blog.sven.co.za Sven Welzel

    Indeedy! :)
    .-= Sven Welzel´s last blog ..KnowledgeTree 3.7.0.2 Document Indexing and Indexer issues (SOLVED) =-.

blog comments powered by Disqus