$("textarea[name='message']").after(function() { return "<tr><td name=\"character-count\">" + this.value.length + " characters used.</td></tr>";});$("textarea[name='message']").bind('input propertychange', function() {$("td[name='character-count']").text(this.value.length + " characters used.");});
I'll poke one of the more dev-minded people about whether this should be implemented automatically.