RE: (OT) making fields readonly with JavaScript

2000-09-01 Thread Steve Martin
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

RE: (OT) making fields readonly with JavaScript

2000-08-31 Thread Jeff Sarsoun
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

Re: (OT) making fields readonly with JavaScript

2000-08-31 Thread Jamie Keane
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

Re: (OT) making fields readonly with JavaScript

2000-08-31 Thread John Andrichak IV
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

RE: (OT) making fields readonly with JavaScript

2000-08-31 Thread Gary McNeel, Jr.
;[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

Re: (OT) making fields readonly with JavaScript

2000-08-31 Thread Ricq Pattay
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

RE: (OT) making fields readonly with JavaScript

2000-08-31 Thread DeVoil, Nick
> 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

RE: (OT) making fields readonly with JavaScript

2000-08-31 Thread Jason Powers
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