Opened 12 years ago
Closed 12 years ago
#6983 closed bug (invalid)
IE6 selector on same element ID in multiple forms selects first element
Reported by: | jasontconnell | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | selector | Version: | 1.4.2 |
Keywords: | ie6 duplicate element ID | Cc: | |
Blocked by: | Blocking: |
Description
See example html. Run in Chrome / Firefox / any IE.
Chrome alerts "test in form 2" then "test in form 1" which is expected
IE 6,7,8 alerts "undefined" then "test in form 1".
Sorry but our client has this issue, we changed the ID of one of them so it works, and I didn't see it reported.
Attachments (1)
Change History (2)
Changed 12 years ago by
Attachment: | jquery_ie6_bug.html added |
---|
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
That document is invalid (as you probably know), it has two elements with an id of "test". What an invalid document does is undefined.
Note: See
TracTickets for help on using
tickets.
js to reproduce IE6 selector bug