https://github.com/kaiwa/bootstrap-maxlength
Twitter Bootstrap maxlength character count plugin
https://github.com/kaiwa/bootstrap-maxlength
bootstrap3 javascript jquery-plugin
Last synced: 8 months ago
JSON representation
Twitter Bootstrap maxlength character count plugin
- Host: GitHub
- URL: https://github.com/kaiwa/bootstrap-maxlength
- Owner: kaiwa
- Created: 2012-11-30T11:13:46.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-04-04T18:54:27.000Z (over 10 years ago)
- Last Synced: 2025-02-04T20:57:48.425Z (over 1 year ago)
- Topics: bootstrap3, javascript, jquery-plugin
- Size: 19.5 KB
- Stars: 25
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Twitter Bootstrap 3 jQuery maxlength plugin
===========================================
Appends a character countdown to input fields, showing the characters left until maxlength is reached.

Try the [jsfiddle demo](https://jsfiddle.net/r9bjLax1/1) to see it live!
Usage Example
-------------
```html
$(document).ready(function() {
$("input[maxlength]").maxlength();
});
```
Installation
------------
### Download
Simply [download a zipped release](https://github.com/kaiwa/bootstrap-maxlength/releases), unpack it, then add the `bootstrap-maxlength.js` file to your project.
### Bower
Add the package `bootstrap-maxlength-simple` to your bower.json project file.
```javascript
{
"name": "My Project",
"dependencies": {
"bootstrap-maxlength-simple": "3.*"
}
}
```
Earlier versions
----------------
See 2.0 branch for a version which is compatible with Twitter Bootstrap 2.