readOnlyreadOnly*
*



Contents  *



Index  *Topic Contents
*Previous Topic: readOnly
*Next Topic: readyState

readOnly

Description

Causes the element's contents to be read-only, meaning that the user cannot enter or edit text in the control.

Syntax

object.readOnly[ = readOnly]

Remarks

This is different than disabled. Read-only still allows the element to receive the focus, while disabled does not.

The default value for this property is FALSE.

This property has read-write permissions, meaning you can change as well as retrieve its current value.

Applies To

INPUT (text and password types only), TEXTAREA


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.