Closed Bug 444362 Opened 16 years ago Closed 14 years ago

Dynamic Form checkboxes added by Javascript not selected properly

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Windows Vista
defect
Not set
trivial

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: almightyju, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2010-11-01])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0

I made a page that will add a checkbox to a page dynamicly and say you try to add check 2 with the same name twice it will only select check 2 wich works fine, but if you should uncheck check 2 and add check 3 it will tick check 3 (it should since its new) but it also checks check 3. Now it wouldn't bother me if ie did the same but ie does it properly :( 

It could just be my JavaScipt style since i dont do much with it :o

Reproducible: Always

Steps to Reproduce:
1. go to arandomworld.co.uk/test.php
2. add new check called Check 2
3. uncheck check 2
4. add check 3
Actual Results:  
it checks check 2 when it shouldnt

Expected Results:  
check 1 and 3 is checked
This is a mass search for bugs that are in the Firefox General component, are
UNCO, and have not been changed for 800 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10, create a fresh profile,
http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you
still see the bug, please update this bug. If the issue is gone, please set the
resolution to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
still the same, although i remember i worked around it by generating the whole inner html without checked="checked" for unticked checkboxes since when you change innerhtml it seems to reload from the html. 

also IE8 now acts the same way as firefox, ie 6 and 7 behaves as i would have expected.
Severity: normal → trivial
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Version: unspecified → 3.6 Branch
You need to log in before you can comment on or make changes to this bug.