Yes, but make make sure you re-enable it if you want to use it on a called
template.
-----Original Message-----
From: John Andrichak IV [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: (OT) making fields readonly with JavaScript
There is a JavaScript element attribute "disabled." Setting
"someFormField.disabled = true" will cause whatever "someFormField" is to be
grayed out.
John Andrichak IV
Web Programmer
Dannemiller Memorial Educational Foundation
> -----Original Message-----
> From: Jamie Keane [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 31, 2000 9:51 AM
> To: CFTalk
> Subject: (OT) making fields readonly with JavaScript
>
>
> Hi all, and I apologise for being off-topic, but this is driving me nuts!
>
> Is there a way to "disable" text field via JavaScript? I know of the
> READONLY attribute, and the client likes how that works, but in my
research
> I was not able to come up with a way to access that attribute through JS.
> Any ideas?
>
> Thanks,
> Jamie
>
> --
> Jamie Keane
> Programmer
> SolutionMasters, Inc.
> 9111 Monroe Rd., Suite 100
> Charlotte, NC 28270
> www.solutionmasters.com
> 704.563.5559 x 228 Voice
> 704.849.9291 Fax
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.mail-archive.com/cf-talk@houseoffusion.com/
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.