Einstein47
Programmer
I have a disagreement with another of our web developers. He feels that since we have a class defined in our global css file called "readonly" that it should be able to affect a <INPUT type="text" ... > form element so that it cannot be modified. I told him that css can't do that and he would have to put the attribute "readonly" in the INPUT declaration.
Basically I do this:
Is the readonly attribute necessary, or is my co-worker correct that there is a way with CSS to affect that behavior? Einstein47
("The only reason I would take up exercise would be so I could hear heavy breathing again."
Basically I do this:
Code:
<INPUT type="text" name="field1" class="readonly" readonly value="<%=serverVariable%>">
("The only reason I would take up exercise would be so I could hear heavy breathing again."