How to make a textarea readonly?
July 05, 08 by the programmerIt’s very simple, all you have to do is add the attribute readonly.
This is how it looks:
<textarea readonly=”readonly”>This is some text in the text area</textarea>
That’s it
It’s very simple, all you have to do is add the attribute readonly.
This is how it looks:
<textarea readonly=”readonly”>This is some text in the text area</textarea>
That’s it