HBCMS更多的中文手册参考:

READONLY Attribute | readOnly参数属性

DHTML文档教程

Sets or retrieves the value indicated whether the content of the object is read-only.

dhtml语法

HTML<ELEMENT READONLY ... >
Scriptingobject.readOnly [ = bRead ]

DHTML可能的值

bReadBoolean that specifies or receives one of the following values.
falseDefault. Property is not set on the object.
trueObject is set to read-only.

The property is read/write. The property has a default value of false.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

if the value of the readonly property is set to true, the user cannot enter or edit text in the control. when set to true, the property still allows the object to receive the focus, whereas the disabled property does not.

是否符合公共标准

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

INPUT type=text, INPUT type=password, TEXTAREA