Well, the bugbear of this was I needed to control, via radio buttons,
whether or not the text field(s) was/were readonly.  What I ended up doing
was storing the state in a hidden formfield.  If anyone cares to see the
code, I'll post it.

--
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
-----Original Message-----
From: Carol Bluestein <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, August 31, 2000 4:14 PM
Subject: Re[2]: (OT) making fields readonly with JavaScript


>Yes, it works and works well.
>
>Carol L. Bluestein
>Senior Programmer
>NYS Office of Real Property
>518-486-6335
>[EMAIL PROTECTED]
>
>I haven't tried this, and in fact I'm stealing this from the JS-Jive list:
>
>onFocus="this.blur()"
>in the input tag
>
>~~~~~~~~~~~~~~~~~~~~~~~~
>Ricq Pattay <[EMAIL PROTECTED]>
>Univ of Minnesota - Twin Cities
>College of Veterinary Medicine
>
>
>----- Original Message -----
>From: Jamie Keane <[EMAIL PROTECTED]>
>To: CFTalk <[EMAIL PROTECTED]>
>Sent: Thursday, August 31, 2000 8:50 AM
>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/[email protected]/
>> 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/[email protected]/
>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/[email protected]/
>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/[email protected]/
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.

Reply via email to