TEXTAREA.readOnly (Property)

When set to true, the TextArea cannot be modified.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Boolean value
JavaScript syntax:-myTEXTAREA.readOnly

The TextArea content is defined but cannot be changed by the user. You may want to control this property based on JavaScript code. If the property is set true from the HTML document source, you will have to unlock the field before the user can modify the field content.

See also:Input.readOnly, Password.readOnly, TextCell.readOnly

Property attributes:

ReadOnly.