How to set the readonly and enabled properties of a control using js?
I tried setting it like this but it didn’t work, text1 is <input type=text id=text1>
text1.readonly=true;
and
text1.enabled=true;
Neither works, why???
Answer:
disabled=flase; //lowercase
readOnly=true; //uppercase