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.

Reply via email to