Feedback on: irt.org FAQ Knowledge Base Q717
Length:
Too short
Technical:
Not technical enough
Comments:
See my just submitted additions to JavaScript Q30.
You *can* change the color in a form field with MSIE 4.x and above by using a STYLE in the same manner you would do so to a text item in Netscape:
<STYLE>ALL.DEMO { color:white; background:black; }</STYLE>
...
<FORM ...>
<INPUT CLASS=DEMO Name=Any Value=Something>
...
This gives you a "reverse video" form field which is wonderful for some purposes!
Worth:
Not worth reading
Comments:
I've found a way of solving this.
If you have an external stylesheet and a style defined for input, and another class (say input2) then you can have a JavaScript function that does:
function changeFormat(fld)
{
fld.className = "input2";
}
Kindest regards,
James
Worth:
Worth reading
Length:
Too short
Technical:
Not technical enough
Comments:
<input style="COLOR: brown">