July 1998
Intermediate to advanced
1456 pages
65h 5m
English
READONLY — NN n/a IE 4 HTML 4
READONLY
Optional
When the READONLY attribute is present, the text
field INPUT element cannot be edited on the page
by the user (although scripts can modify the content). A field marked
as READONLY should not receive focus within the
tabbing order (although IE 4 for the Macintosh allows the field to
receive focus).
password, text
<INPUT TYPE="text" NAME="ZIP" READONLY>
The presence of the attribute sets its value to
true.
false
[window.]document.formName.inputName.readOnly
[window.]document.forms[i].elements[i].readOnly
[window.]document.all.elementID.readOnly
Read now
Unlock full access