One thing you'll have to take into account (because you're using richetext)
is the underlying HTML. Most people aren't going to be able to mentally
correlate 100 words of text inside the preview window as actually being 300
characters of code.

You'll also have to make sure you point your target at the underlying code
window (an iframe I think) and not the display window or your count will be
off. 

-----Original Message-----
From: Paul Ihrig [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 18, 2008 8:34 AM
To: CF-Talk
Subject: cftextarea: how to count characters? maxlength

hey guys i am using cf8 and in my cftextarea richtext=true and
maxlength="8000"
is there a js or function that would show the user how many charecters the
have used and how many are left in a textarea or text field?

thanks much
-paul



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303740
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to