[Javascript] Netscape 4x and text form fields

Nancy Burton-Vulovic nancybv at idirect.ca
Fri Dec 28 17:28:10 CST 2001


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




More information about the Javascript mailing list