Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Disabled property for input
- From: javascript@xxxxxxxxxx (Craig Gardner)
- Subject: [Javascript] Disabled property for input
- Date: Mon, 19 Aug 2002 09:50:10 -0700
So if I were to use "document.form.input.disabled = true;" it will work in internet explorer? This form will be used internally, so I don't need to worry about compatibility. Thanks, Craig | -----Original Message----- | From: Peter Brunone [mailto:peter@xxxxxxxxxxx] | Sent: Monday, August 19, 2002 9:39 AM | To: javascript@xxxxxxxxxx | Subject: Re: [Javascript] Disabled property for input | | | Craig, | | You only have the disabled option in Internet Explorer. | A slightly more universal solution (works for Netscape, | anyway) is to change the background color style attribute and | use the onFocus() event handler to set | window.focus() (or focus on whatever else you like to get | emphasis off the input field). | | -Peter | | ----- Original Message ----- | From: "Craig Gardner" <CGardner@xxxxxxxxxxxxxxx> | | | | I'm trying to set up a field that is disabled/enabled | depending on the | | value of another field, but I can't seem to find a disabled/enabled | | property for | | the fields. Is there one? Or do I have to go about this in another | | way? | | | | Thanks, | | Craig | | ====================================== | | _______________________________________________ | Javascript mailing list | Javascript@xxxxxxxxxx | https://lists.LaTech.edu/mailman/listinfo/jav| ascript | ====================================== Confidentiality Notice: The information contained in this electronic document is considered a confidential and/or privileged communication between John Burnham Insurance Services and the addressee(s). If the recipient(s) of this email communication is not the addressee(s), such recipient(s) is strictly prohibited from photocopying, distributing or otherwise using this email or its contents and/or attachment(s) in any way. If you received this message in error, please contact the sender listed above by any contact means listed. Thank you!
- Follow-Ups:
- [Javascript] Disabled property for input
- From: Peter Brunone
- [Javascript] Disabled property for input
- Prev by Date: [Javascript] Disabled property for input
- Next by Date: [Javascript] Disabled property for input
- Previous by thread: [Javascript] Disabled property for input
- Next by thread: [Javascript] Disabled property for input
- Index(es):