janeworley
asked on
Set style only on enabled text boxes
I want to set the style only on enabled text boxes. If they are disabled I want the default style to prevail.
I tried this but it doesn't seem to work:
input[type="text"][enabled ]
Is this proper syntax and I'm just missing something elsewhere?
This does work for disabled text boxes:
input[type="text"][disable d]
I tried this but it doesn't seem to work:
input[type="text"][enabled
Is this proper syntax and I'm just missing something elsewhere?
This does work for disabled text boxes:
input[type="text"][disable
ASKER
I think your code will apply the styles on disabled fields as well as enable ones?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window