Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Releases for Text limiter for form fields


Text limiter for form fields .4.1-DEMO

Demo page

Text limiter for form fields 0.4.1

Improved some stuff, fixed all issues.

Text limiter for form fields 0.4-packed

Compressed version via YUI compressor.

Text limiter for form fields 0.4

Wrapped the code in proper jQuery closure,
fixed all the issues mentioned. also fixed another bug
where the textarea object isn't to be found.

Text limiter for form fields 0.1.1

  • Counts down the number of characters left. (via thelimit)
  • Prevent user from typing more than allowed number of chars.
  • Trims the text if string is too long, 2 modes: char by char, and at once. (via speed = -1 for "at once" trim)

html example:

<script>
  jQuery("textarea").textlimit('span.counter',20);
</script>
<form>
  <span class="counter"></span>
  <textarea cols="40" rows="10"></textarea>
</form>

Text limiter for form fields 0.0.1

I've made a small correction to the code, which allowed it to be applied on multiple form elements. enjoy!

Text limiter for form fields 0.1.0

  • Counts down the number of characters left. (via thelimit)
  • Prevent user from typing more than allowed number of chars.
  • Trims the text if string is too long, 2 modes: char by char, and at once. (via speed = -1 for "at once" trim)

html example:

<script>
  jQuery("textarea").textlimit('span.counter',20);
</script>
<form>
  <span class="counter"></span>
  <textarea cols="40" rows="10"></textarea>
</form>