I have a textbox in my function which I have disabled with field.disabled=true
.
Now I want the color in black instead of grey
I have written a function, inside the function I have disabled the field and by default it's in the color grey, I want that color as black field.disabled = true
I have tried, field.style.color="black"
; but that did not seem to work.
I have tried field.style.color="black";
this also doesn't seem to work.
I have received the value in a variable(field) and I have disabled the text box value. My problem is that it is looking properly, so I need that color as black.