Steve
> -Original Message-
> From: Jamie Keane [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 31, 2000 14:51
> 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 "di
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
TED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Thursday, August 31, 2000 12:05 PM
Subject: RE: (OT) making fields readonly with JavaScript
>Jamie,
> Shouldn't it be possible for you to use the blur() method to force focus
>off of that text box? Like thi
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 PROTE
;[EMAIL PROTECTED]'
> Subject: RE: (OT) making fields readonly with JavaScript
>
>
> Jamie,
> Shouldn't it be possible for you to use the blur() method to force focus
> off of that text box? Like this:
>
> to take focus off of that field, or
>
> to focus on
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 PROTE
> 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?
document.formname.fieldname.readOnly
This only works on IE I think. For NN solution try
http://developer.irt.org/sc
Jamie,
Shouldn't it be possible for you to use the blur() method to force focus
off of that text box? Like this:
to take focus off of that field, or
to focus on another element, which would actually be rather confusing for
the user.
If that doesn't work, you might be able to do something
8 matches
Mail list logo