Menu
How do I change the font color of a (disabled) textbox?
I made an input box, and another input box which I disabled.
The idea is to fill in a value in box1, press a button, and get a value after a calculation.
Only the value in the disabled box should be red instead of grey…
[code]
<form>
<input type=”text” name=”box1″> <input type=”button” name=”button1″ onClick=”minsec()” value=”press to calculate”>
<br>
<input thpe=”text” name=”box2″ disabled>
</form>
The script is working fine, just the font color of box2 has to be changed…
In advanced thanks,
René