input type="text" onFocus="blur();"
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, bu
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.
the value in the field with its previous value.
-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
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
ane [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
]'
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:
input type="text" onFocus="this.blur();"
to take focus off of that field, or
input type="text&q
om: 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
]
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 this:
input type="text" onFocus="this.b
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
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
icq 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
11 matches
Mail list logo