Closed
Bug 273979
Opened 20 years ago
Closed 20 years ago
setAttribute("value", foo) doesn't work with <input> if you modify the text inside the label
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: fabiobonelli, Unassigned)
Details
Attachments
(1 file)
|
368 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Galeon/1.3.18 (Debian package 1.3.18-1.1) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Galeon/1.3.18 (Debian package 1.3.18-1.1) It seems that in certain conditions setAttribute() doesn't work. Works in Opera. Reproducible: Always Steps to Reproduce: 1. Load testcase.html 2. Click on "Change" button. The text in the field changes everytime you click on it, as expected. 3. Now write something in the text field. 4. Click on "Change" button again: the text in the field doesn't change anymore.
| Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
This has probably something to do with the difference between the attribute "value" and the DOM property "value". This could very well be an invalid bug.
Comment 3•20 years ago
|
||
INVALID: http://whatwg.org/specs/web-forms/current-work/#the-defaultvalue
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•