[Javascript] Netscape 4x and text form fields

Nancy Burton-Vulovic nancybv at idirect.ca
Sat Dec 29 00:25:50 CST 2001


I was afraid of that, but I suppose you are right. Darn, I was hoping there
was an easy 1-liner that I had just forgotten.

N
----- Original Message -----
From: "Peter Brunone" <peter at brunone.com>
To: <javascript at LaTech.edu>
Sent: Saturday, December 29, 2001 12:04 AM
Subject: RE: [Javascript] Netscape 4x and text form fields


: Nancy,
:
: Netscape 4, as I'm sure you're aware, isn't very amenable to DHTML
: scripting.  AFAIK, the only thing you'll be able to do is rig an onFocus()
: event handler that trips a function; if the radio button is checked, then
: the text box is blurred (effectively achieved by window.focus(); ).
:
: Cheers,
:
: Peter
:
: |-----Original Message-----
: |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
: |Behalf Of Nancy Burton-Vulovic
: |Sent: Friday, December 28, 2001 5:28 PM
: |To: javascript at LaTech.edu
: |Subject: [Javascript] Netscape 4x and text form fields
: |
: |
: |I need to be able to "gray out" text fields in Netscape 4x if a certain
: |radio button is checked. I need them to be both visually distinct
: |and unable
: |to accept text. I wrote a script that works fine in IE5x and NS6.2, using
: |document.form.field.style.bgColor and document.form.field.disabled, but
it
: |doesn't do anything at all in NS4x. Any hints?
: |
: |TIA
: |Nancy
:
: _______________________________________________
: Javascript mailing list
: Javascript at LaTech.edu
: https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list