Closed
Bug 256026
Opened 20 years ago
Closed 20 years ago
Unabled to set readonly attribute for HTMLInputElement via javascript
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: daniel.oconnor, Assigned: igor)
References
()
Details
Attachments
(1 file)
598 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8 While if you manually edit the attributes of the element via the DOM inspector this behaves as expected; you cannot dynamically set this property. The text box should be readonly when the first button is clicked. Reproducible: Always Steps to Reproduce: 1. Click button (do it its fun :) Actual Results: HTMLInputElement is still editable Expected Results: HTMLInputElement should not be still editable See http://www.w3.org/TR/REC-html40/interact/forms.html#adef-readonly
Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
The attribute is readOnly (capital O).
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•