If you've got Firebug installed in Firefox, you should be able to use the DOM portion of FB to pinpoint the reference to the iframe.
-----Original Message----- From: Paul Ihrig [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 10:00 AM To: CF-Talk Subject: Re: cftextarea: how to count characters? maxlength i can bobby's code to work with a regular cftextarea, but not the one with richtext document.form1.descLong.value = 8000 - document.form1.descLong.value.length; how do i target the iframe? if thats what it is? On Fri, Apr 18, 2008 at 10:07 AM, Andy Matthews <[EMAIL PROTECTED]> wrote: > 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:303751 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4