RE: Setting Focus to Field (does not work on .cfm file)

2000-05-22 Thread Dave Watts

> I have a question, does anybody knows how can I get the
> Coldfusion server to process ALL the JavaScript code? I
> have been trying to use the onfocus="..." for the body
> tag (see bellow) but it still does not work... It does
> work fine if I rename the .cfm file to .htm (same code
> and everything, just renaming file), but somehow for the
> .cfm file the JavaScript code does not work..

You can't get the CF server to process any of the JavaScript code! That gets
processed on the client!

Your specific problem may be caused by something you're putting in your
application.cfm file. For example, if you've got a BODY tag in
application.cfm, your BODY tag within the specific document will be ignored.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting Focus to Field (does not work on .cfm file)

2000-05-22 Thread Perez, Bismark

I have a question, does anybody knows how can I get the Coldfusion server to
process ALL the JavaScript code?  I have been trying to use the
onfocus="..." for the body tag (see bellow) but it still does not work... It
does work fine if I rename the .cfm file to .htm (same code and everything,
just renaming file), but somehow for the .cfm file the JavaScript code does
not work.. 

TIA

Bismarck Perez


-Original Message-
From: Reilly, Jim [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 11:42 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Setting Focus to Field



The names are case sensitive.
So, if your form is NAMED  "TEST"

then you will need:


whereas:

would NOT work.

Same goes for the fieldname..

Hope this helps!



-Original Message-
From: Perez, Bismark [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 11:27 AM
To: Cf-Talk (E-mail)
Subject: Setting Focus to Field


Hello there,

I was looking in the Allaire tutorials and found a way to set the focus to a
field as soon as the page is loaded, the problem is that it does not work
for me, can somebody tell me what I'm doing wrong...



TIA
Bismarck Perez


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.