Nerds Publishing Monstrosities
    Have ideas to improve npm?Join in the discussion! »

    character-counter

    0.0.2 • Public • Published

    Character Counter for jQuery

    The jQuery Character Counter Plugin is simple character counter for your forms.

    alt tag

    Getting Started

    Add jquery.charactercounter.js to your project.

    <form>
        <div class="form-group">
            <label>Foo</label>
            <input id="textInput" class="form-control" type="text">
        </div>
        <div class="form-group">
            <label>Foo 2</label>
            <textarea id="textareaInput" class="form-control"></textarea>
        </div>
    </form>
    <script src="jquery.js"></script>
    <script src="jquery.charactercounter.js"></script>
    <script>
    $('#textInput').characterCounter(75);
    $('#textareaInput').characterCounter(150);
    </script>
    

    License

    MIT

    Install

    npm i character-counter

    DownloadsWeekly Downloads

    3

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • avatar