Text limiter for form fields
October 25, 2007 - 3:36am — vsync
Counts down the number of chars left on a Textarea/Input fields,
won't let the user write more than allowed number of characters.
When copy/paste text, it trims it to the set limit, and also
has an option for slow trimming, char by char (define speed).
<script>
jQuery("textarea").textlimit('span.counter',20);
</script>
<form>
<span class="counter"></span>
<textarea cols="40" rows="10"></textarea>
</form>Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 0.1.1 | 2008-Feb-13 | 1.38 KB | Recommended for 1.0.x | ||
| 0.4.1 | 2009-Jul-25 | 2.12 KB | Recommended for 1.3.x | ||
