I am working on a web application that displays a lot of data to the user in comboboxes. Some users do not have permission to make changes. Some do. When the user does not have permission to make changes, the comboboxes are disabled (good). That means the text is grayed out. Unfortunately, when the text is grayed out it is harder to read. I want to be able to change the foreground text color to black (#000000) so it is easier to read. I am able to do this programmatically like this:
elements.combobox1.fgcolor="#000000"
This works fine if the user is using Firefox, Safari, or Chrome. The combobox text turns black, it is readable, and the element remains disabled (good ). However... if the user is using MS Internet Explorer, this exact same code does not change the combobox color. The text remains gray (not good ). Is there some way to fix this problem or work around it? Most of my users use Internet Explorer and will probably resist changing to another browser.