I have a form which, based on some DB lookup factors, sets a series of text fields to disabled or enabled. I'm doing this with:
<?php
if ($checkvm==1)
{
echo "
<input name=\"ipvm\" type=\"text\" id=\"ipvm\" size=\"13\" value=\"$ipvm\"></td> ";
}
else
{
echo "
<input name=\"ipvm\" disabled=\"true\" type=\"text\" id=\"ipvm\" size=\"13\"></td>";
}
?>
The strange part is, when viewing the form in Firefox, the disabled fields are "grayed out", but in IE6 they're white. They are indeed non-editable though. I'd really like to have them show "grayed out" if they are disabled in IE6 also.
Any ideas?
Thanks.