Skip to main content

Bug Tracker

Side navigation

#6983 closed bug (invalid)

Opened September 01, 2010 09:10PM UTC

Closed September 02, 2010 02:13AM UTC

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)
  • jquery_ie6_bug.html (0.6 KB) - added by jasontconnell September 01, 2010 09:11PM UTC.

    js to reproduce IE6 selector bug

Change History (1)

Changed September 02, 2010 02:13AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

That document is invalid (as you probably know), it has two elements with an id of "test". What an invalid document does is undefined.