Closed
Bug 308235
Opened 19 years ago
Closed 19 years ago
checked checkbox clears after setting its disabled property to false and reloading the page
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: yu, Unassigned)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 A checked checkbox is cleared after a page reload, if the checkbox's property 'disabled' is set to false in a script. Here is the content of the demonstration page: <html> <body> <form name='Form1'> <input type="checkbox" name="C1" value="ON" checked> </form> <script> document.Form1.C1.disabled=false </script> </body> </html> The initial page load shows the check box checked. But subsequent page reload will show the checkbox cleared. Reproducible: Always Steps to Reproduce: 1. go to http://www.nss-mic.org/test.htm, a page with a checked checkbox appears 2. reload the page, the checkbox is now cleared. 3. Actual Results: The checked checkbox is cleared after reload Expected Results: the checked checkbox should remain checked IE 6.0 and opera 8 do not exhibit this problem.
Comment 1•19 years ago
|
||
Mozilla 1.7.11 does this as well, so moving to Core.
Assignee: nobody → general
Component: Form Manager → DOM: HTML
Product: Firefox → Core
QA Contact: form.manager → ian
Version: unspecified → 1.7 Branch
Comment 2•19 years ago
|
||
WFM on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 (No IDN) Firefox/1.4
Comment 3•19 years ago
|
||
WFM SeaMonkey trunk, 2005090705 on WinXP. ->WFM
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•