Hi,
I want to disable a textfield depending on the value from a select menu.
i use javasrcipt (onchange) on the select, and disable the textfield
document.getElementById('repair').disabled=true;
document.getElementById('repair').styleClass='textDisabledClass';
the textfield has a styleId = 'repair' and i am using html:text (part of
struts)
The disable works but styleClass does not change in IE. If works well in Mozilla, i can see two different types of textfields depending on the styleClass.
Any suggestions?
thanks
Anil