Textarea with character countdown
Textarea with character countdown
- Subject: Textarea with character countdown
- From: Paul Hoadley <email@hidden>
- Date: Mon, 11 Oct 2010 22:20:24 +1030
Hello,
I have a use case for a textarea with a Twitter-style character countdown from some specifiable limit. Specifically:
1. Text area with a character limit count somewhere nearby.
2. Count decreases by one for each character typed.
3. Count decreases by the total length of anything pasted in.
4. Excess content is not prevented, but the count goes negative.
Basically, I'm describing exactly (New)Twitter's widget. (I want to use it for SMS message content.)
So, here's me as an optimist: does anyone have or know of a WOComponent that does exactly this that I can just drop right in? :-) Failing that, I'm not up to speed on Twitter's API or, in particular, exactly what parts of their UI are re-usable—does anyone know if this widget is freely usable in any form? Failing that, can anyone recommend a good Javascript implementation of something like this, preferably _not_ using JQuery (as I want to just drop it into pages already using Ajax.framework)?
Failing all of those, I'll write one myself.
--
Paul.
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden