If firebug is not reporting an error, then the error isn't occurring.  Which
can mean a few different things.

1.  Check what Jeff mentioned, I had assumed that the missing code was a
cut/paste issue into your email tool, but if you haven't closed the
<cftextarea> tag as well as haven't included the </cftextarea> close tag,
then that may be causing the issue.
2.  If javascript does not report an error, then the Javascript is either
'running without issue' which means that the command += 1 isn't being
accepted, but is correct syntax.  OR the command wasn't run at all, which
could mean that onKeyDown isn't being activated, so you could try onKeyUp or
onChange (just to see it work).

William

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
 
Web Developer / ColdFusion Programmer
http://William.Seiter.com

-----Original Message-----
From: Don L [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 18, 2008 12:16 PM
To: CF-Talk
Subject: Re: Same inline javascript works and not working

William,

Great ideas, many thanks.  The 'this' replacement for
'document.getElementById('noteid2')' technique alone does not seem to solve
the problem.  BUT BUT, it's a right step...

Yes, my FF2 has Firebug installed, I did not see any error, previously if
there were CFC or JSON problem it would indicate so... but I'm new to
firebug, OK,
I've suddenly made progress using FB, I've spotted culprit (from a news
feed), once disabled this feed, the textarea auto-expansion seems to work
(not perfect yet), awesome, thank you a million.  I'll need to do more
testing... more later...

Don

>Don,
>
>I am curious, you are referring to the id in the javascript by absolute
>name.  Have you tried replacing all of the '
>document.getElementById('noteid2')' references with 'this'?


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299295
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