[Tool] Character Count With Spaces jQuery Plugin | charCounter.js

Character Count Tool is a brilliant tiny real-time character counter plugin to calculate and depend on the full variety of characters with areas whereas typing in a textual content area.

Supports each enter and textarea parts. Works with the native maxlength attribute.

[Maxlength] jQuery Character Counter and Limit Plugin For Bootstrap

How to Make Use of it:

1. Load the minified model of the character counter plugin after the most recent jQuery library (slim construct is really helpful).

<script src="/path/to/cdn/jquery.slim.min.js"></script>
<script src="/path/to/dist/charCounter.min.js"></script>

2. Determine the utmost variety of characters allowed to kind in your textual content area utilizing the maxlength attribute.

<h2>Input Field</h2>
<input type="text" id="input-demo" maxlength="60" />

<h2>Textarea</h2>
<textarea id="textarea-demo" maxlength="140"></textarea>

3. Call the perform on the textual content area to allow the character counter.

$("#input-demo").charCounter();
$("#textarea-demo").charCounter(
  // with options
);

4. Customize the divider character:

  • slash: ” / ” (Default)
  • dash: ” – “
  • bar: ” | “
$("#textarea-demo").charCounter(
  divider: 'dash'
);

5. Specify the font measurement of the character counter.

$("#input-demo").charCounter();
$("#textarea-demo").charCounter({
  fontSize: '1.25rem'
});

6. Apply further CSS class(es) to the character counter.

$("#input-demo").charCounter();
$("#textarea-demo").charCounter({
  customClass: 'myClass'
});

7. Then apply further CSS kinds to the character counter.

.myClass 

Textarea Character Count jQuery, Word Count Typing jQuery Textarea, jQuery Character Counter Plugin/Github


See Demo And Download

Official Website(mmmmlemon): Click Here

This superior jQuery/javascript plugin is developed by mmmmlemon. For extra Advanced Usages, please go to the official website.

Related Posts

Iconpicker-Bootstrap-5

[Icon Picker] Iconpicker for Bootstrap 5 Icons Library

Bootstrap 5-based icon picker which supports any icon libraries like Bootstrap Icons, Font Awesome[fontawesome.com], etc. Must Read: 1000+ Pixel Perfect SVG Icons For Vue Components | Unicons How…

bootstrap-multiple-image-upload-with-preview

Bootstrap Multiple Image Upload with Preview and Delete | ImagesLoader

ImagesLoader is a standard bootstrap image upload plugin that provides an easy-to-use and nice-looking interface for uploading multiple images to a web server. Must Read: HTML 5…

Animating-Split-Flap-Displays-fallblatt

A Lightweight jQuery Plugin for Animating Split-Flap Displays | fallblatt

fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure…

bootstrap-5-dark-theme

Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…

jQuery-SyoTimer-Plugin

jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization. Features Periodic count with the specified period…

vue-js-periodic-table

Dynamic, Data-driven Periodic Table built with Vue.js

Periodicity is a dynamic, data-driven periodic table created with Vue.js that uses D3 animations and graphs to show the beauty of periodic trends. Built With vue.js (component…