hi,
<input type="text" disabled="true" onFocus="this.blur();"
style="background-color:gray">
disabled="true" works only for Internet Explorer
onFocus="this.blur();" will work for both the browsers BUT make sure
that you have more then one items on your page.
style="background-color:gray" you can mention a lighter color if you
want. (specify it's RGB value)
jigs
----- Original Message -----
From: Larry Guayante
To: javascript
Sent: Wednesday, November 22, 2000 3:02 AM
Subject: [javascript] Greying Text Box Field
How can I "grey out" a text box field unless a condition is met (e.g.,
another field is selected)? I thought someone provided a solution, but
I
can't find it .
Thanks for your help!
Larry Guayante
Knowledge Outlook
mailto:larry@k...