Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Disabled property for input
- From: javascript@xxxxxxxxxx (Peter Brunone)
- Subject: [Javascript] Disabled property for input
- Date: Mon, 19 Aug 2002 11:39:25 -0500
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
| ======================================
- Follow-Ups:
- [Javascript] Disabled property for input
- From: Harry Love
- [Javascript] Disabled property for input
- References:
- [Javascript] Disabled property for input
- From: Craig Gardner
- [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):