Hey Great Joy it worked !!
Thanks Charilie :)
cfsavecontent variable=headText
your javascript stuff here
/cfsavecontent
cfhtmlhead text=#headText# /
On Thu, Aug 21, 2008 at 1:53 PM, dev losh [EMAIL PROTECTED] wrote
I built a form for my users where they enter IP addresses. They are use to
putting in the .(period) in between the numbers but I built the form so all
they would have to do is type in the number. Is there a way I can change the
keystroke of a . (period) to a tab. So when they are typing they
Why not just have it all in one form field? Easier to store, easier to
manage, no extra coding needed.
-Original Message-
From: BJ McShane [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 10:25 AM
To: CF-Talk
Subject: javascript question
I built a form for my users where
. I know it will work in IE, but not sure about
other browsers.
Hope this helps!
Sincerely,
Dave Phillips
http://www.dave-phillips.com
-Original Message-
From: BJ McShane [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 10:25 AM
To: CF-Talk
Subject: javascript question
I
remember that when you do this, it changes the behavior of the keystroke in the
entire window. If you have another field that can input a period(.), this
will make it a tab too.
Not sure if you're allowed to check focus and based on the focused element,
maybe make a decision to bypass or
oh wait n/m the way dave has it, it only activates on that element. :)
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Dave thanks for the input. I did do some google searches on this but never
found a solution that would work. I'll try what you posted and try some more
searches to see what I can find.
thanks!
~|
Adobe® ColdFusion® 8 software
Yes I did take that into account. If I keep in at the input tag level I think
it should only effect the fields I want. I'll have to do more testing.
thanks,
~|
Adobe® ColdFusion® 8 software 8 is the most important and
I'll probably change it that way. I stored it in 4 different field in the DB
since each of the 4 parts mean certain things to the user. They could search
and sort based on what they are trying to find. Also when they search they can
just put input into any of the fields to find all the IPs
If the code isn't cross-browser compatible (not tested, probably is though)
You could use the same concept to activate the javascript , when the javascript
senses the key that was pressed, if it was the 'period' then have the element's
'tabindex' detected and then have the system 'focus
-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 02, 2008 2:12 AM
To: CF-Talk
Subject: Javascript and Coldfusion
I'm looking for some good advice/info on exchanging variables between
CF and
javascript, anyone know of a good reference site
I'm looking for some good advice/info on exchanging variables between CF and
javascript, anyone know of a good reference site, please?
Jenny
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release
JavaScript
that, when executed in the browser, will contain values that existed in
ColdFusion. You can't pass a value from JS to CF because by the time your
JS is executing, your CF is long gone. Of course, if you intend to somehow
save state in your web app, there is always Ajax calls, but I'm
On Fri, Aug 1, 2008 at 11:22 PM, Brad Wood [EMAIL PROTECTED] wrote:
That's a pretty vague question. Never the less, one that comes up often.
Basically you need to remember that ColdFusion is all excited first on the
server.
my ColdFusion doesn't seem all excited. maybe it needs more RAM?
lol. It's late and my spell check already went to bed...
- Original Message -
From: Charlie Griefer [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Saturday, August 02, 2008 1:29 AM
Subject: Re: Javascript and Coldfusion
On Fri, Aug 1, 2008 at 11:22 PM, Brad Wood [EMAIL
Hello everyone,
Using the CFajaxProxy I am getting my content throught JSON.
I need to handle the return of my query (html content) and put it on a DIV
container.
This is what I am using so far:
// return data form CF
function jsReturn(r) {
alert(r);
var op =
You need to get a JS Json DeSerialiser...
Most frameworks like, dojo, jQuery, extJS and spry to name a few all have
this support already.
JSon, can even be done with an evaluate in JS but be careful because that
can open for hacking.
Also when it comes to fireBug, I take it you don't use the
Hi all,
Boy, there are tons of calendars out on the web, javascript calendars,
coldfusion calendars, etc. What I'm looking for specifically, I haven't found
yet, so I thought I'd see if any of you have one or have seen it.
I'm looking for coldfusion calendar code that is driven by javascript
you need more of a popup datepicker than an always-on calendar?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Dave Phillips wrote:
Hi all,
Boy, there are tons of calendars out on the web, javascript calendars,
coldfusion calendars, etc. What I'm looking for specifically, I haven't
datepicker than an always-on calendar?
I need an 'always-on' calendar. And to clarify my original request, I'm
looking for something that has javascript navigation.
I could implement something with ajaxCFC as well as we are using that here.
I've been thinking about using AJAX to accomplish
to CF8 here, but until that
happens, my code needs to be compatible with 6.1. :(
or do you need more of a popup datepicker than an always-on calendar?
I need an 'always-on' calendar. And to clarify my original request, I'm
looking for something that has javascript navigation.
I
-on' calendar. And to clarify my original request,
I'm looking for something that has javascript navigation.
I could implement something with ajaxCFC as well as we are using that
here. I've been thinking about using AJAX to accomplish it if I need
to write it from scratch.
I'm pretty
request,
I'm looking for something that has javascript navigation.
I could implement something with ajaxCFC as well as we are using that
here. I've been thinking about using AJAX to accomplish it if I need
to write it from scratch.
I'm pretty good with Javascript, but much better
request,
I'm looking for something that has javascript navigation.
I could implement something with ajaxCFC as well as we are using that
here. I've been thinking about using AJAX to accomplish it if I need
to write it from scratch.
I'm pretty good with Javascript, but much better
I'm working on a church site and there's some concern about the size of the
screen versus the size of the monitor it's on. This includes random loading of
photos and text. I've also had this concern on my wife's site.
I'm currently calling a javascript function in body onload which reads
of the monitor it's on. This includes random loading
of photos and text. I've also had this concern on my wife's site.
I'm currently calling a javascript function in body onload which reads the
screensize and sets a cookie for width and a cookie for height. CF then reads
those cookies
Stephens, Larry V wrote:
Seems to be working except once in awhile the program doesn't seem to pick up
a change in screen size until you do a reload. When I look at Google topics
on body onload they say to me that there's no guarantee body onload will
fire the javascript (and, in my case
cf code is processed on the SERVER, BEFORE your page is presented to the
user on screen, BEFORE your js code executes, BEFORE your cookie is
set/changed.
your onload event is too late to have its results picked up by cf from
the cookie at this pageload - only on the next one.
*Good point.
aside
with Javascript
Couldn't you make a Preload file that runs the JS code setting
everything else up before you run the body of the code?
On Tue, Jul 15, 2008 at 11:40 AM, Stephens, Larry V
[EMAIL PROTECTED] wrote:
I'm working on a church site and there's some concern about the size of the
screen versus
I use this:
http://tredosoft.com/Multiple_IE
You can install 3.0 through 6.0 as stand-alone. I then have IE 7 as my
system install.
On Fri, Jul 11, 2008 at 6:30 PM, Claude Schneegans
[EMAIL PROTECTED] wrote:
You might want to take a look at IE7 stand alone.
I will sure do.
Thanks.
--
You can try this.
http://www.debugbar.com/
Hi, are you using it yourself?
I tried it, there are a lot of interesting options, however two main flaws:
1º the error message is still the same stupidity:
- it does not give the true file name the error occurs,
- it gives the line number, but
Actually I have it installed but I rarely use IE except for cross browser
css issues. (i.e. after I work out all the gremlins using Firebug). I have
yet to run into a IE only JS bug.
Here try CompanionJS. It is geared more toward JS debugging:
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
Actually I have it installed but I rarely use IE except for cross browser
css issues.
I see. In my case, most my Javascript is used in my CMS used by
administrators,
and none of them use FF, so developing for IE is a must.
--
___
REUSE CODE! Use custom tags
. In my case, most my Javascript is used in my CMS used by
administrators,
and none of them use FF, so developing for IE is a must.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam
Did you try CompanionJS? I think it is just what you need.
Ah ha! Now this looks better ;-)
Thanks.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Subject: Re: (ot) javascript problem
You can try this.
http://www.debugbar.com/
Hi, are you using it yourself?
I tried it, there are a lot of interesting options, however two main flaws:
1º the error message is still the same stupidity:
- it does not give the true file name the error occurs
I haven't worked with DebugBar itself, yet, but Companion.JS that works
with it was helpful in my case - not perfect but helpful. (Better than
nothing, certianly.)
If you are not already aware of it, the tool of choice for many developers
is Firebug: http://getfirebug.com/
It is absolutely
Companion.JS that works with it was helpful in my case - not perfect
but helpful. (Better than nothing, certianly.)
I tried it, but unfortunately it requires the MS debugger, and for some
reason,
I've never been able to get this piece od ?%$! to work under IE6.
All I get is a new window with
You might want to take a look at IE7 stand alone. It allows you to run IE 6
and 7 on the same machine.
http://tredosoft.com/IE7_standalone
I need to support both IE 6 and 7. This allows you to run both side by side.
Very handy.
~G~
On Fri, Jul 11, 2008 at 4:57 PM, Claude Schneegans
[EMAIL
You might want to take a look at IE7 stand alone.
I will sure do.
Thanks.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample works fine in IE
but my revision (no
Thanks again for all the suggestions.
I figured it out by taking
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample works fine in IE but
my revision (no revision to code other than adding menu elements) won't even
show up in IE.
I see an error icon but it tells me absolutely
You can try this.
http://www.debugbar.com/
On Tue, Jul 8, 2008 at 8:42 AM, Stephens, Larry V [EMAIL PROTECTED]
wrote:
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample works fine in IE
but my revision
If things aren't working after you made a change, show us a before and after
sample of the code.
Adrian
-Original Message-
From: Stephens, Larry V [mailto:[EMAIL PROTECTED]
Sent: 08 July 2008 13:43
To: CF-Talk
Subject: (ot) javascript problem
I'm using a DHTML javascript menu (from
Any clues on how to trace javascript errors in IE?
Error messages in IE are simply retarded.
The error could be in any file, and it does not even give the file name.
Furthermore, the line number is always one unit higher.
Then your error must be in one of the included files, at line 347
Thanks - installing now.
-Original Message-
From: Gerald Guido [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 8:58 AM
To: CF-Talk
Subject: Re: (ot) javascript problem
You can try this.
http://www.debugbar.com/
On Tue, Jul 8, 2008 at 8:42 AM, Stephens, Larry V [EMAIL PROTECTED
, and VS will give you better information, and take you directly to
the offending bit of JS.
Stephens, Larry V wrote:
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample works fine in IE
but my revision
the
include call with an actual script block. Then IE might tell you where in
that file the error is.
andy
-Original Message-
From: Stephens, Larry V [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 7:43 AM
To: CF-Talk
Subject: (ot) javascript problem
I'm using a DHTML
Look for a trailing comma in a javascript array perhaps? That one
gets me in IE every once in a while.
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample works fine in IE
but my revision (no
Thanks for all the suggestions.
I installed the debug bar
a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample works fine in IE
but my revision (no
Thanks for all the suggestions.
I installed the debug bar that was recommended and, on the same site, saw
.Jscript (I think that's
What people have been saying about this topic are best set of
arguments for getting requirements docs before anything is coded.That
has saved me more than once.
regards,
larry
On Sat, Jun 14, 2008 at 9:41 PM, James Holmes [EMAIL PROTECTED] wrote:
Especially putting together the last couple of
+1
..:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Larry C. Lyons [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2008 3:15 PM
To: CF-Jobs-Talk
Subject: Re: Looking for javascript expert and CF professional worker
What people
: Phillip Vector [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 4:33 PM
To: CF-Jobs-Talk
Subject: Re: Looking for javascript expert and CF professional worker
Is it just me or does this sound like a scam to anyone else?
On Wed, Jun 11, 2008 at 1:29 PM, Alex Snowden [EMAIL PROTECTED
Can any javascript gurus tell me why this does not work? I want the br tag
to display on the page so I get a carriage return between the two pieces of
text Foo and Moo. I get this error in Firbug:
document.tabbedTicket.FTDTYPEe has no properties
script
function makeNewEntry
try document.getElementById(FTDTYPEe). And then go get some library
that will take care of all that for you (jQuery, Prototype, etc.).
cheers,
barneyb
On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray [EMAIL PROTECTED] wrote:
Can any javascript gurus tell me why this does not work? I want the br
because br isn't an element of form?
try removing the tabbedTicket or use getElementById
On Wed, Jun 11, 2008 at 12:34 PM, Chad Gray [EMAIL PROTECTED] wrote:
Can any javascript gurus tell me why this does not work? I want the br tag
to display on the page so I get a carriage return between
I may be way off-base, but do you need that trailing e in FTDTYPEe?
Could it be the missing e from Firbug?
m!ke
On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray [EMAIL PROTECTED] wrote:
Can any javascript gurus tell me why this does not work? I want the
br tag to display on the page so I get
) javascript help
Can any javascript gurus tell me why this does not work? I want the br
tag to display on the page so I get a carriage return between the two pieces
of text Foo and Moo. I get this error in Firbug:
document.tabbedTicket.FTDTYPEe has no properties
script
function makeNewEntry
Message -
From: Chad Gray [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, June 11, 2008 10:34 AM
Subject: (ot) javascript help
Can any javascript gurus tell me why this does not work? I want the br
tag to display on the page so I get a carriage return between
Ah... that makes sense.
Thanks everyone for the help!
-Original Message-
From: Greg Morphis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 1:39 PM
To: CF-Talk
Subject: Re: (ot) javascript help
because br isn't an element of form?
try removing the tabbedTicket or use
hi
i need to have some form of ajax in an application by being able to call a
cffunction on the server from javascript on the client, and then to have that
cffunction return a value that javascript can then use
i would be grateful of any suggestions about the best way of doing this.
i have
On Tue, May 20, 2008 at 11:43 AM, Richard White [EMAIL PROTECTED] wrote:
hi
i need to have some form of ajax in an application by being able to call a
cffunction on the server from javascript on the client, and then to have that
cffunction return a value that javascript can then use
i
excellent, thanks Charlie
your right, for now its just simple and straightforward but in the future we
will need to be looking to do much more complex tasks so im glad you think
jquery is good. i will be looking into that more later but for now look intp
jsmx
thanks again
On Tue, May 20,
to have some form of ajax in an application by being able to call a
cffunction on the server from javascript on the client, and then to have that
cffunction return a value that javascript can then use
i would be grateful of any suggestions about the best way of doing this.
i have heard
I have a form that posts to itself. Once submitted, I create a dynamic url
on the fly.
Using javascript, how can I submit the form to itself and open the new url
in another browser window?
Can this be done w/o creating a 'go between' cf template?
Thanks, Che
window.open()
most popup blockers will block it though.
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, May 16, 2008 4:14 PM
To: CF-Talk
Subject: (ot) Javascript Question
Thanks. Because of popup blockers I guess a regular href will have to do.
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Friday, May 16, 2008 4:21 PM
To: CF-Talk
Subject: RE: (ot) Javascript Question...
window.open()
most popup blockers will block it though
When I load the page, no javascript errors..
When I type something in the box, I get a employ is not defined..
Yes it is... it's right freakin there. :)
I realize I must be missing something obvious... Any ideas?
script type=text/javascript
function employ()
{
xmlHttp
When I load the page, no javascript errors..
When I type something in the box, I get a employ is not defined..
Yes it is... it's right freakin there. :)
I realize I must be missing something obvious... Any ideas?
script type=text/javascript
function employ()
{
xmlHttp
It's not the function that's not found, it's GetXmlHttpObject.
Adrian
-Original Message-
From: Phillip Vector [mailto:[EMAIL PROTECTED]
Sent: 28 April 2008 18:19
To: CF-Talk
Subject: Javascript function not defined
When I load the page, no javascript errors..
When I type something
Phillip Vector wrote:
I realize I must be missing something obvious...
like a ; after xmlHttp=GetXmlHttpObject() ?
just a guess...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
~|
Adobe® ColdFusion® 8 software 8 is
: Monday, April 28, 2008 1:18:30 PM
Subject: Javascript function not defined
When I load the page, no javascript errors..
When I type something in the box, I get a employ is not defined..
Yes it is... it's right freakin there. :)
I realize I must be missing something obvious... Any ideas?
script
Here is the full code (with some fixes). I still get the same error...
script type=text/javascript
// Set variable for AJAX
var xmlHttp;
// Load in the AJAX object based on what browser you have
function GetXmlHttpObject()
{
var xmlHttp=null;
try
// Load in the AJAX object based on what browser you have
function GetXmlHttpObject()
In the code snippet you posted, this was all on one single line. Is it that
way in your actual code? If so, there won't be any function called
GetXmlHttpObject, and the code block that corresponds to the
No. Please see the full code posting..
There's more below it.
On Mon, Apr 28, 2008 at 10:44 AM, Dave Watts [EMAIL PROTECTED] wrote:
// Load in the AJAX object based on what browser you have
function GetXmlHttpObject()
~|
I assumed stateChanged was a variable. If it is a function call, need the
parenthesis.
xmlHttp.onreadystatechange=stateChanged();
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try
No. Please see the full code posting..
There's more below it.
I know there's more below it. However, in what you posted, the keyword
function is on the same line as your comment. If this is what you have in
your actual code, that won't work. I just copied and pasted the two relevant
lines.
Ah... As I emailed, it isn't on the same line. Sorry for the confusion. :)
On Mon, Apr 28, 2008 at 10:55 AM, Dave Watts [EMAIL PROTECTED] wrote:
No. Please see the full code posting..
There's more below it.
I know there's more below it. However, in what you posted, the keyword
The code you pasted works fine for me as long as the span is there.
script type=text/javascript
// Set variable for AJAX
var xmlHttp;
// Load in the AJAX object based on what browser you have
function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
=text/javascript
// Set variable for AJAX
var xmlHttp;
// Load in the AJAX object based on what browser you have
function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
}
catch (e
I finally got the AJAX working (Scriptacilious was messing up
something with it) and now, I have another issue..
I get the popup list of employers. I'd like to be able to click on the
name of one and populate the name, address and city fields of the form
WITHOUT submitting it.
I thought about
).
Then, of course, you'll have some JavaScript to populate the SELECT:
script
function populateEmployer()
{
var emp = document.forms[0].employer;
for (var i = 0; i rsEmployers.name.length; i++)
{
emp.options[emp.options.length] = new
Option(rsEmployers.name[i], i
Steve:
The rich text editor that CF8 uses is FCKEditor. You should read up on the
JavaScript API to determine how to get the value located here:
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API
You will of course first need to obtain the underlying FCKEditor instance
Hi,
If you use the javascript API @
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API#FCKeditor_JavaScript_API
you can use a method called editorinstancename.GetHtml(); this will give you
the inner html from the editor. you can write this to a variable and check
for the body of your story.');
return false;
}
Cheers,
Kris
I am trying to check whether or not a rich text textarea has a value in
JavaScript. On a normal textarea box I can just use the elementname.value ==
'' but that is not working when I have rich text turned
is required');
}
}
Works like a champ. Thanks again!
I am trying to check whether or not a rich text textarea has a value
in JavaScript. On a normal textarea box I can just use the elementname.
value == '' but that is not working when I have rich text turned on.
Anyone have any
I am creating a cfwindow from JS with this:
ColdFusion.Window.create('testwindow', 'This is a test');
I also need to be able to write content to the window from JavaScript. That
will include JavaScript variables. I have tried doing it with this:
elementName_body.innerHTML='This is the body
I am trying to check whether or not a rich text textarea has a value in
JavaScript. On a normal textarea box I can just use the elementname.value == ''
but that is not working when I have rich text turned on.
Anyone have any ideas how to check it when rich text is on?
Thanks
Well - not really a new one, but an addition to my old one:
http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_DateExtensions/Index.cfm
I've added a parseFormat() method that works similar to the Java
SimpleDateFormat method. You give the method a string (a date
Hi list,
I cant get to a solution
of the following problem.
I have a cfinput-field like:
a) cfinput type=text name=billing_contact required=no or
b) cfinput type=text name=billing_contact required=yes
A javascript should manipulate the cfinput either like:
required=yes or
required=no
How can I
Degenhardt wrote:
Hi list,
I cant get to a solution
of the following problem.
I have a cfinput-field like:
a) cfinput type=text name=billing_contact required=no or
b) cfinput type=text name=billing_contact required=yes
A javascript should manipulate the cfinput either like:
required=yes
Hi list,
I cant get to a solution
of the following problem.
I have a cfinput-field like:
a) cfinput type=text name=billing_contact required=no or
b) cfinput type=text name=billing_contact required=yes
A javascript should manipulate the cfinput either like:
required=yes or
required=no
How can I
) { prototype.js (line 1966)
here's my code:
script type='text/javascript' src='mxAjax/core/js/prototype.js?
jsVersion=#request.jsVersion#'/script
script type='text/javascript' src='mxAjax/core/js/mxAjax.js?
jsVersion=#request.jsVersion#'/script
script type='text/javascript' src='mxAjax/core/js
The following cf and js code works fine with both IE7 and FF2 (as you can see
it does auto expand of textarea so that the user can view all the data input)
cfparam name=rowNum default=3
cfform name=cap id=auto action=#CGI.script_name#? method=post
cftextarea name=yourWords id=noteid2 cols=70
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'?
If there is an issue with the noteid2 not being unique, or any other issue
with the id-ing of the element
You don't have your cftextarea closed. You also don't need the javascript: at
the start of the onKeyDown event.
Take out those two and it should work like a charm.
-jeff
The following cf and js code works fine with both IE7 and FF2 (as you
can see it does auto expand of textarea so
Jeff, I clearly forgot to copy over the cftextarea end tag. tks for your
time.
You don't have your cftextarea closed. You also don't need the
javascript: at the start of the onKeyDown event.
Take out those two and it should work like a charm.
-jeff
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'?
If there is an issue with the noteid2 not being unique, or any other issue
with the id-ing of the element
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
401 - 500 of 3910 matches
Mail list logo